about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorluojia65 <me@luojia.cc>2022-01-05 15:28:03 +0800
committerluojia65 <me@luojia.cc>2022-01-05 15:44:52 +0800
commit06f44530271c2bf69dd1e3d977885495b3b2bf3b (patch)
treeb7e022543199e95eec1db198f9fa90900ea07631 /library/std/src/lib.rs
parent26c9b0046f96403cdf959e4e1f874ec25f9dbf6f (diff)
downloadrust-06f44530271c2bf69dd1e3d977885495b3b2bf3b.tar.gz
rust-06f44530271c2bf69dd1e3d977885495b3b2bf3b.zip
Add is_riscv_feature_detected!; modify impl of hint::spin_loop
Update library/core/src/hint.rs

Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>

Remove redundant config gate
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 22e721d79bf..d5f9d20c426 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -556,6 +556,7 @@ pub use std_detect::*;
 pub use std_detect::{
     is_aarch64_feature_detected, is_arm_feature_detected, is_mips64_feature_detected,
     is_mips_feature_detected, is_powerpc64_feature_detected, is_powerpc_feature_detected,
+    is_riscv_feature_detected,
 };
 
 // Re-export macros defined in libcore.