We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af0a071 + 7506990 commit 2f8fd53Copy full SHA for 2f8fd53
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