We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3193d52 commit b4eb099Copy full SHA for b4eb099
src/bootstrap/builder/tests.rs
@@ -217,6 +217,16 @@ mod dist {
217
dist::Std { compiler: Compiler { host: a, stage: 1 }, target: b },
218
]
219
);
220
+ assert_eq!(
221
+ first(builder.cache.all::<compile::Std>()),
222
+ &[
223
+ compile::Std { compiler: Compiler { host: a, stage: 0 }, target: a },
224
+ compile::Std { compiler: Compiler { host: a, stage: 1 }, target: a },
225
+ compile::Std { compiler: Compiler { host: a, stage: 2 }, target: a },
226
+ compile::Std { compiler: Compiler { host: a, stage: 1 }, target: b },
227
+ compile::Std { compiler: Compiler { host: a, stage: 2 }, target: b },
228
+ ],
229
+ );
230
assert_eq!(first(builder.cache.all::<dist::Src>()), &[dist::Src]);
231
}
232
0 commit comments