We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70446b5 commit e0ab2c1Copy full SHA for e0ab2c1
crates/std_detect/src/detect/mod.rs
@@ -65,6 +65,11 @@ mod cache;
65
66
cfg_if! {
67
if #[cfg(miri)] {
68
+ // When running under miri all target-features that are not enabled at
69
+ // compile-time are reported as disabled at run-time.
70
+ //
71
+ // For features for which `cfg(target_feature)` returns true,
72
+ // this run-time detection logic is never called.
73
#[path = "os/other.rs"]
74
mod os;
75
} else if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] {
0 commit comments