File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -618,7 +618,7 @@ changelog-seen = 2
618
618
# and currently the only standard options supported are `"llvm"`, `"cranelift"`
619
619
# and `"gcc"`. The first backend in this list will be used as default by rustc
620
620
# when no explicit backend is specified.
621
- # codegen-backends = ["llvm"]
621
+ # codegen-backends = ["llvm", "cranelift" ]
622
622
623
623
# Indicates whether LLD will be compiled and made available in the sysroot for
624
624
# rustc to execute.
Original file line number Diff line number Diff line change @@ -1065,7 +1065,8 @@ impl Config {
1065
1065
config. channel = "dev" . to_string ( ) ;
1066
1066
config. codegen_tests = true ;
1067
1067
config. rust_dist_src = true ;
1068
- config. rust_codegen_backends = vec ! [ INTERNER . intern_str( "llvm" ) ] ;
1068
+ config. rust_codegen_backends =
1069
+ vec ! [ INTERNER . intern_str( "llvm" ) , INTERNER . intern_str( "cranelift" ) ] ;
1069
1070
config. deny_warnings = true ;
1070
1071
config. bindir = "bin" . into ( ) ;
1071
1072
config. dist_include_mingw_linker = true ;
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ download-ci-llvm = false
16
16
# Make sure they don't get set when installing from source.
17
17
channel = " nightly"
18
18
download-rustc = false
19
+ # Skip building the cranelift backend. It isn't ready to be shipped yet.
20
+ codegen-backends = [" llvm" ]
19
21
20
22
[dist ]
21
23
# Use better compression when preparing tarballs.
You can’t perform that action at this time.
0 commit comments