diff --git a/src/liballoc_jemalloc/build.rs b/src/liballoc_jemalloc/build.rs index 649cd6e8e85fb..440c9fbf2f66f 100644 --- a/src/liballoc_jemalloc/build.rs +++ b/src/liballoc_jemalloc/build.rs @@ -29,9 +29,9 @@ fn main() { // for targets like emscripten, even if we don't use it. let target = env::var("TARGET").expect("TARGET was not set"); let host = env::var("HOST").expect("HOST was not set"); - if target.contains("rumprun") || target.contains("bitrig") || target.contains("openbsd") || - target.contains("msvc") || target.contains("emscripten") || target.contains("fuchsia") || - target.contains("redox") || target.contains("wasm32") { + if target.contains("bitrig") || target.contains("cloudabi") || target.contains("emscripten") || + target.contains("fuchsia") || target.contains("msvc") || target.contains("openbsd") || + target.contains("redox") || target.contains("rumprun") || target.contains("wasm32") { println!("cargo:rustc-cfg=dummy_jemalloc"); return; }