Extend dist extended tools test

This commit is contained in:
Jakub Beránek 2025-07-08 17:34:09 +02:00
parent c571b97778
commit d79e98c9ba
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -1062,18 +1062,28 @@ mod snapshot {
fn dist_extended() {
let ctx = TestCtx::new();
insta::assert_snapshot!(
ctx
.config("dist")
.args(&["--set", "build.extended=true"])
.render_steps(), @r"
ctx.config("dist")
.args(&[
"--set",
"build.extended=true",
"--set",
"rust.llvm-bitcode-linker=true",
"--set",
"rust.lld=true",
])
.render_steps(), @r"
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
[build] rustc 0 <host> -> Rustbook 1 <host>
[build] llvm <host>
[build] rustc 0 <host> -> rustc 1 <host>
[build] rustc 0 <host> -> LldWrapper 1 <host>
[build] rustc 0 <host> -> WasmComponentLd 1 <host>
[build] rustc 1 <host> -> LlvmBitcodeLinker 2 <host>
[build] rustc 1 <host> -> std 1 <host>
[build] rustc 1 <host> -> rustc 2 <host>
[build] rustc 1 <host> -> LldWrapper 2 <host>
[build] rustc 1 <host> -> WasmComponentLd 2 <host>
[build] rustc 2 <host> -> LlvmBitcodeLinker 3 <host>
[build] rustdoc 1 <host>
[doc] std 2 <host>
[build] rustc 2 <host> -> std 2 <host>
@ -1092,7 +1102,6 @@ mod snapshot {
[build] rustc 0 <host> -> cargo-clippy 1 <host>
[build] rustc 0 <host> -> miri 1 <host>
[build] rustc 0 <host> -> cargo-miri 1 <host>
[build] rustc 1 <host> -> LlvmBitcodeLinker 2 <host>
");
}