Skip to content

Commit 69d8ada

Browse files
committed
Build LLVM backend by default
Otherwise, the compiler can't actually compile anything.
1 parent 63220a2 commit 69d8ada

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/bootstrap/compile.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ impl Step for Rustc {
461461

462462
pub fn rustc_cargo(builder: &Builder<'_>, cargo: &mut Cargo, target: Interned<String>) {
463463
cargo
464+
.arg("--no-default-features")
464465
.arg("--features")
465466
.arg(builder.rustc_features())
466467
.arg("--manifest-path")

src/rustc/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ optional = true
2121
features = ['unprefixed_malloc_on_supported_platforms']
2222

2323
[features]
24+
default = ['llvm']
2425
jemalloc = ['jemalloc-sys']
2526
llvm = ['rustc_driver/llvm']

0 commit comments

Comments
 (0)