about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2018-04-04 22:42:56 +0200
committerJorge Aparicio <jorge@japaric.io>2018-04-04 22:42:56 +0200
commitb1015f5c5a4dcd6118b86ef5361371f04a7bce8b (patch)
treebd2f37ce2611adc04084908fa946d484baa99cb5
parentbca569f57c53e219270be72ed5976b8167fcd246 (diff)
compile other no-std crates
-rw-r--r--src/bootstrap/compile.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs
index eaf4ab272c6..51e7a788315 100644
--- a/src/bootstrap/compile.rs
+++ b/src/bootstrap/compile.rs
@@ -145,8 +145,11 @@ pub fn std_cargo(build: &Builder,
     }
 
     if build.no_std(target) == Some(true) {
-        // for no-std targets we only compile core and compiler-builtins
+        // for no-std targets we only compile a few no_std crates
         cargo.arg("--features").arg("c mem")
+            .args(&["-p", "alloc"])
+            .args(&["-p", "compiler_builtins"])
+            .args(&["-p", "std_unicode"])
             .arg("--manifest-path")
             .arg(build.src.join("src/rustc/compiler_builtins_shim/Cargo.toml"));
     } else {