We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7170b0 commit e87abdbCopy full SHA for e87abdb
src/bootstrap/builder.rs
@@ -778,6 +778,12 @@ impl<'a> Builder<'a> {
778
if cmd != "bench" {
779
cargo.arg("--release");
780
}
781
+ if compiler.stage == 0 &&
782
+ (env::var_os("TRAVIS").is_some() || env::var_os("APPVEYOR").is_some()) {
783
+ // If we run on travis-ci or appveyor, build stage0 with
784
+ // several codegenunits for lower build times.
785
+ cargo.env("RUSTC_CODEGEN_UNITS", "16");
786
+ }
787
788
789
if self.config.locked_deps {
0 commit comments