File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,10 @@ fn dist_only_cross_host() {
185
185
compiler: Compiler { host: a, stage: 0 } ,
186
186
target: a,
187
187
} ,
188
+ compile:: Rustc {
189
+ compiler: Compiler { host: a, stage: 1 } ,
190
+ target: a,
191
+ } ,
188
192
compile:: Rustc {
189
193
compiler: Compiler { host: a, stage: 1 } ,
190
194
target: b,
Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ impl Step for ToolBuild {
54
54
55
55
match self . mode {
56
56
Mode :: ToolRustc => {
57
+ // e.g. clippy wants to depend on compiler internals from
58
+ // the host, too -- this seems to be because we run rustc w/o the target flag, which
59
+ // is probably because clippy is a "plugin" so is intended for the host.
60
+ builder. ensure ( compile:: Rustc { compiler, target : compiler. host } ) ;
57
61
builder. ensure ( compile:: Rustc { compiler, target } )
58
62
}
59
63
Mode :: ToolStd => {
You can’t perform that action at this time.
0 commit comments