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.
ToolRustc
download-rustc
1 parent 6fecbb9 commit 006a9bdCopy full SHA for 006a9bd
src/bootstrap/src/core/build_steps/tool.rs
@@ -111,7 +111,13 @@ impl Step for ToolBuild {
111
let path = self.path;
112
113
match self.mode {
114
- Mode::ToolRustc => {}
+ Mode::ToolRustc => {
115
+ // FIXME: remove this, it's only needed for download-rustc...
116
+ if !self.build_compiler.is_forced_compiler() && builder.download_rustc() {
117
+ builder.std(self.build_compiler, self.build_compiler.host);
118
+ builder.ensure(compile::Rustc::new(self.build_compiler, target));
119
+ }
120
121
Mode::ToolStd => {
122
// If compiler was forced, its artifacts should have been prepared earlier.
123
if !self.build_compiler.is_forced_compiler() {
0 commit comments