std_detect: Add support for LoongArch

Co-authored-by: WANG Rui <wangrui@loongson.cn>
This commit is contained in:
ZHAI Xiang
2023-10-25 15:09:45 +08:00
committed by Amanieu d'Antras
parent 3b2a5e2866
commit 5625c8bf49
8 changed files with 96 additions and 2 deletions

View File

@@ -11,6 +11,7 @@
//! * `mips64`: [`is_mips64_feature_detected`]
//! * `powerpc`: [`is_powerpc_feature_detected`]
//! * `powerpc64`: [`is_powerpc64_feature_detected`]
//! * `loongarch`: [`is_loongarch_feature_detected`]
#![stable(feature = "stdsimd", since = "1.27.0")]
#![feature(staged_api, doc_cfg, allow_internal_unstable)]