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.
check::Std
1 parent 9505178 commit de86ce1Copy full SHA for de86ce1
src/bootstrap/src/core/build_steps/check.rs
@@ -66,10 +66,16 @@ impl Step for Std {
66
fn run(self, builder: &Builder<'_>) {
67
builder.require_submodule("library/stdarch", None);
68
69
+ let stage = if builder.config.is_explicit_stage() || builder.top_stage >= 1 {
70
+ builder.top_stage
71
+ } else {
72
+ 1
73
+ };
74
+
75
let target = self.target;
- let compiler = builder.compiler(builder.top_stage, builder.config.build);
76
+ let compiler = builder.compiler(stage, builder.config.build);
77
- if builder.top_stage == 0 {
78
+ if stage == 0 {
79
let mut is_explicitly_called =
80
builder.paths.iter().any(|p| p.starts_with("library") || p.starts_with("std"));
81
0 commit comments