Update #[no_core] users with the "freeze" lang item.

This commit is contained in:
Eduard-Mihai Burtescu
2017-04-18 11:02:21 +03:00
parent 0adfd810f8
commit 89bd3f39ca
4 changed files with 16 additions and 4 deletions

View File

@@ -151,6 +151,7 @@ pub fn build_startup_objects(build: &Build, for_compiler: &Compiler, target: &st
if !up_to_date(src_file, dst_file) {
let mut cmd = Command::new(&compiler_path);
build.run(cmd.env("RUSTC_BOOTSTRAP", "1")
.arg("--cfg").arg(format!("stage{}", compiler.stage))
.arg("--target").arg(target)
.arg("--emit=obj")
.arg("--out-dir").arg(dst_dir)