summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-02-04 11:19:17 +0100
committerErin Power <erin.power@embark-studios.com>2021-04-30 15:37:42 +0200
commit8d3f6fb0252cf19d6f22f2d74c79f69f2e55fbb0 (patch)
tree034e73f3bcecd5e688636efa62f86ec46d0dc174
parent35fd1a6c05e70507987a4b0abac46473a5b4e1e4 (diff)
downloadrust-8d3f6fb0252cf19d6f22f2d74c79f69f2e55fbb0.tar.gz
Build the cranelift backend by default
-rw-r--r--src/bootstrap/config.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs
index 483816b98d6..fd97b842789 100644
--- a/src/bootstrap/config.rs
+++ b/src/bootstrap/config.rs
@@ -560,7 +560,8 @@ impl Config {
config.channel = "dev".to_string();
config.codegen_tests = true;
config.rust_dist_src = true;
- config.rust_codegen_backends = vec![INTERNER.intern_str("llvm")];
+ config.rust_codegen_backends =
+ vec![INTERNER.intern_str("llvm"), INTERNER.intern_str("cranelift")];
config.deny_warnings = true;
config.bindir = "bin".into();