We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b399e5 commit 7506990Copy full SHA for 7506990
src/bootstrap/step.rs
@@ -98,6 +98,13 @@ pub fn build_rules(build: &Build) -> Rules {
98
.run(move |s| compile::assemble_rustc(build, s.stage, s.target));
99
rules.build("llvm", "src/llvm")
100
.host(true)
101
+ .dep(move |s| {
102
+ if s.target == build.config.build {
103
+ dummy(s, build)
104
+ } else {
105
+ s.target(&build.config.build)
106
+ }
107
+ })
108
.run(move |s| native::llvm(build, s.target));
109
110
// ========================================================================
0 commit comments