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
This commit is contained in:
parent
26c9b0046f
commit
06f4453027
3 changed files with 17 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue