about summary refs log tree commit diff
path: root/src/liballoc_jemalloc
diff options
context:
space:
mode:
authorJeremy Soller <jackpot51@gmail.com>2016-12-15 08:23:33 -0700
committerJeremy Soller <jackpot51@gmail.com>2016-12-15 16:31:01 -0700
commit3e7543a16ec6450b8fe0c3d50bc341b5f143cc54 (patch)
tree6045720352a5a4eaa69986b07fe6459e19c26022 /src/liballoc_jemalloc
parentf86e01462781705798adaccbcc3dceb0ecff239b (diff)
downloadrust-3e7543a16ec6450b8fe0c3d50bc341b5f143cc54.tar.gz
rust-3e7543a16ec6450b8fe0c3d50bc341b5f143cc54.zip
WIP: Cross-compilation for Redox target
Diffstat (limited to 'src/liballoc_jemalloc')
-rw-r--r--src/liballoc_jemalloc/build.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liballoc_jemalloc/build.rs b/src/liballoc_jemalloc/build.rs
index fc849e7a50c..e0763276113 100644
--- a/src/liballoc_jemalloc/build.rs
+++ b/src/liballoc_jemalloc/build.rs
@@ -36,7 +36,8 @@ fn main() {
     // targets, which means we have to build the alloc_jemalloc crate
     // for targets like emscripten, even if we don't use it.
     if target.contains("rumprun") || target.contains("bitrig") || target.contains("openbsd") ||
-       target.contains("msvc") || target.contains("emscripten") || target.contains("fuchsia") {
+       target.contains("msvc") || target.contains("emscripten") || target.contains("fuchsia") ||
+       target.contains("redox") {
         println!("cargo:rustc-cfg=dummy_jemalloc");
         return;
     }