We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b4d1bf commit 59a1b11Copy full SHA for 59a1b11
src/tools/miri/src/bin/miri.rs
@@ -27,6 +27,11 @@ extern crate rustc_span;
27
/// above, instead of via Cargo as you'd normally do. This is currently needed for LTO due to
28
/// https://github.com/rust-lang/cc-rs/issues/1613.
29
#[cfg(feature = "jemalloc")]
30
+// Make sure `--all-features` works: only Linux and macOS actually use jemalloc, and not on arm32.
31
+#[cfg(all(
32
+ any(target_os = "linux", target_os = "macos"),
33
+ any(target_arch = "x86_64", target_arch = "x86", target_arch = "aarch64"),
34
+))]
35
extern crate tikv_jemalloc_sys as _;
36
37
mod log;
0 commit comments