We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2601c86 commit 6575a96Copy full SHA for 6575a96
src/bootstrap/bin/rustc.rs
@@ -110,7 +110,11 @@ fn main() {
110
111
// Non-zero stages must all be treated uniformly to avoid problems when attempting to uplift
112
// compiler libraries and such from stage 1 to 2.
113
- if stage == "0" {
+ //
114
+ // FIXME: the fact that core here is excluded is due to core_arch from our stdarch submodule
115
+ // being broken on the beta compiler with bootstrap passed, so this is a temporary workaround
116
+ // (we've just snapped, so there are no cfg(bootstrap) related annotations in core).
117
+ if stage == "0" && crate_name != Some("core") {
118
cmd.arg("--cfg").arg("bootstrap");
119
}
120
0 commit comments