We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dea5b4f + 1794466 commit 8cae343Copy full SHA for 8cae343
src/tools/compiletest/src/runtest.rs
@@ -2330,7 +2330,14 @@ impl<'test> TestCx<'test> {
2330
// Hide line numbers to reduce churn
2331
rustc.arg("-Zui-testing");
2332
rustc.arg("-Zdeduplicate-diagnostics=no");
2333
- rustc.arg("-Zwrite-long-types-to-disk=no");
+ // #[cfg(not(bootstrap)] unconditionally pass flag after beta bump
2334
+ // since `ui-fulldeps --stage=1` builds using the stage 0 compiler,
2335
+ // which doesn't have this flag.
2336
+ if !(self.config.stage_id.starts_with("stage1-")
2337
+ && self.config.suite == "ui-fulldeps")
2338
+ {
2339
+ rustc.arg("-Zwrite-long-types-to-disk=no");
2340
+ }
2341
// FIXME: use this for other modes too, for perf?
2342
rustc.arg("-Cstrip=debuginfo");
2343
}
0 commit comments