Skip to content

Commit

Permalink
Hopefully fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Jul 7, 2018
1 parent a533041 commit 163cb57
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/bootstrap/bin/rustc.rs
Expand Up @@ -108,9 +108,7 @@ fn main() {
let mut maybe_crate = None;

// Don't use metadata only backend for snapshot compiler, because it may be broken
if env::var("RUSTC_SHOULD_USE_METADATA_ONLY_BACKEND").is_ok() && stage != "0" {
//cmd.arg("-Zcodegen-backend=metadata_only");
} else {
if env::var("RUSTC_SHOULD_USE_METADATA_ONLY_BACKEND").is_err() {
cmd.arg("--cfg").arg("codegen_backend=\"llvm\"");
}

Expand Down

0 comments on commit 163cb57

Please sign in to comment.