We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bca569f commit b1015f5Copy full SHA for b1015f5
src/bootstrap/compile.rs
@@ -145,8 +145,11 @@ pub fn std_cargo(build: &Builder,
145
}
146
147
if build.no_std(target) == Some(true) {
148
- // for no-std targets we only compile core and compiler-builtins
+ // for no-std targets we only compile a few no_std crates
149
cargo.arg("--features").arg("c mem")
150
+ .args(&["-p", "alloc"])
151
+ .args(&["-p", "compiler_builtins"])
152
+ .args(&["-p", "std_unicode"])
153
.arg("--manifest-path")
154
.arg(build.src.join("src/rustc/compiler_builtins_shim/Cargo.toml"));
155
} else {
0 commit comments