We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27af830 commit 70446b5Copy full SHA for 70446b5
crates/std_detect/src/detect/mod.rs
@@ -64,7 +64,10 @@ mod bit;
64
mod cache;
65
66
cfg_if! {
67
- if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] {
+ if #[cfg(miri)] {
68
+ #[path = "os/other.rs"]
69
+ mod os;
70
+ } else if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] {
71
// On x86/x86_64 no OS specific functionality is required.
72
#[path = "os/x86.rs"]
73
mod os;
0 commit comments