Skip to content

Commit 41eb772

Browse files
committed
update snapshot tests
1 parent e873ba2 commit 41eb772

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

src/bootstrap/src/core/builder/tests.rs

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,12 +1021,12 @@ mod snapshot {
10211021
ctx
10221022
.config("dist")
10231023
.render_steps(), @r"
1024-
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1025-
[build] rustc 0 <host> -> Rustbook 1 <host>
1026-
[doc] unstable-book (book) <host>
10271024
[build] llvm <host>
10281025
[build] rustc 0 <host> -> rustc 1 <host>
10291026
[build] rustc 1 <host> -> std 1 <host>
1027+
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1028+
[build] rustc 0 <host> -> Rustbook 1 <host>
1029+
[doc] unstable-book (book) <host>
10301030
[doc] book (book) <host>
10311031
[doc] book/first-edition (book) <host>
10321032
[doc] book/second-edition (book) <host>
@@ -1076,15 +1076,15 @@ mod snapshot {
10761076
"rust.lld=true",
10771077
])
10781078
.render_steps(), @r"
1079-
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1080-
[build] rustc 0 <host> -> Rustbook 1 <host>
1081-
[doc] unstable-book (book) <host>
10821079
[build] llvm <host>
10831080
[build] rustc 0 <host> -> rustc 1 <host>
10841081
[build] rustc 0 <host> -> LldWrapper 1 <host>
10851082
[build] rustc 0 <host> -> WasmComponentLd 1 <host>
10861083
[build] rustc 0 <host> -> LlvmBitcodeLinker 1 <host>
10871084
[build] rustc 1 <host> -> std 1 <host>
1085+
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1086+
[build] rustc 0 <host> -> Rustbook 1 <host>
1087+
[doc] unstable-book (book) <host>
10881088
[doc] book (book) <host>
10891089
[doc] book/first-edition (book) <host>
10901090
[doc] book/second-edition (book) <host>
@@ -1140,19 +1140,19 @@ mod snapshot {
11401140
.hosts(&[&host_target()])
11411141
.targets(&[&host_target(), TEST_TRIPLE_1])
11421142
.render_steps(), @r"
1143+
[build] llvm <host>
1144+
[build] rustc 0 <host> -> rustc 1 <host>
1145+
[build] rustc 1 <host> -> std 1 <host>
11431146
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
11441147
[build] rustc 0 <host> -> Rustbook 1 <host>
11451148
[doc] unstable-book (book) <host>
1149+
[build] rustc 1 <host> -> std 1 <target1>
11461150
[doc] unstable-book (book) <target1>
1147-
[build] llvm <host>
1148-
[build] rustc 0 <host> -> rustc 1 <host>
1149-
[build] rustc 1 <host> -> std 1 <host>
11501151
[doc] book (book) <host>
11511152
[doc] book/first-edition (book) <host>
11521153
[doc] book/second-edition (book) <host>
11531154
[doc] book/2018-edition (book) <host>
11541155
[build] rustdoc 1 <host>
1155-
[build] rustc 1 <host> -> std 1 <target1>
11561156
[doc] book (book) <target1>
11571157
[doc] book/first-edition (book) <target1>
11581158
[doc] book/second-edition (book) <target1>
@@ -1213,12 +1213,13 @@ mod snapshot {
12131213
.hosts(&[&host_target(), TEST_TRIPLE_1])
12141214
.targets(&[&host_target()])
12151215
.render_steps(), @r"
1216-
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1217-
[build] rustc 0 <host> -> Rustbook 1 <host>
1218-
[doc] unstable-book (book) <host>
12191216
[build] llvm <host>
12201217
[build] rustc 0 <host> -> rustc 1 <host>
12211218
[build] rustc 1 <host> -> std 1 <host>
1219+
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1220+
[build] rustc 0 <host> -> Rustbook 1 <host>
1221+
[doc] unstable-book (book) <host>
1222+
[build] rustc 1 <host> -> std 1 <target1>
12221223
[doc] book (book) <host>
12231224
[doc] book/first-edition (book) <host>
12241225
[doc] book/second-edition (book) <host>
@@ -1231,7 +1232,6 @@ mod snapshot {
12311232
[build] rustc 1 <host> -> error-index 2 <host>
12321233
[doc] rustc 1 <host> -> error-index 2 <host>
12331234
[build] llvm <target1>
1234-
[build] rustc 1 <host> -> std 1 <target1>
12351235
[build] rustc 1 <host> -> rustc 2 <target1>
12361236
[build] rustc 1 <host> -> error-index 2 <target1>
12371237
[doc] rustc 1 <host> -> error-index 2 <target1>
@@ -1271,19 +1271,19 @@ mod snapshot {
12711271
.hosts(&[&host_target(), TEST_TRIPLE_1])
12721272
.targets(&[&host_target(), TEST_TRIPLE_1])
12731273
.render_steps(), @r"
1274+
[build] llvm <host>
1275+
[build] rustc 0 <host> -> rustc 1 <host>
1276+
[build] rustc 1 <host> -> std 1 <host>
12741277
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
12751278
[build] rustc 0 <host> -> Rustbook 1 <host>
12761279
[doc] unstable-book (book) <host>
1280+
[build] rustc 1 <host> -> std 1 <target1>
12771281
[doc] unstable-book (book) <target1>
1278-
[build] llvm <host>
1279-
[build] rustc 0 <host> -> rustc 1 <host>
1280-
[build] rustc 1 <host> -> std 1 <host>
12811282
[doc] book (book) <host>
12821283
[doc] book/first-edition (book) <host>
12831284
[doc] book/second-edition (book) <host>
12841285
[doc] book/2018-edition (book) <host>
12851286
[build] rustdoc 1 <host>
1286-
[build] rustc 1 <host> -> std 1 <target1>
12871287
[doc] book (book) <target1>
12881288
[doc] book/first-edition (book) <target1>
12891289
[doc] book/second-edition (book) <target1>
@@ -1350,12 +1350,12 @@ mod snapshot {
13501350
.hosts(&[])
13511351
.targets(&[TEST_TRIPLE_1])
13521352
.render_steps(), @r"
1353-
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1354-
[build] rustc 0 <host> -> Rustbook 1 <host>
1355-
[doc] unstable-book (book) <target1>
13561353
[build] llvm <host>
13571354
[build] rustc 0 <host> -> rustc 1 <host>
13581355
[build] rustc 1 <host> -> std 1 <target1>
1356+
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1357+
[build] rustc 0 <host> -> Rustbook 1 <host>
1358+
[doc] unstable-book (book) <target1>
13591359
[doc] book (book) <target1>
13601360
[doc] book/first-edition (book) <target1>
13611361
[doc] book/second-edition (book) <target1>
@@ -1397,13 +1397,13 @@ mod snapshot {
13971397
.targets(&[TEST_TRIPLE_1])
13981398
.args(&["--set", "rust.channel=nightly", "--set", "build.extended=true"])
13991399
.render_steps(), @r"
1400-
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1401-
[build] rustc 0 <host> -> Rustbook 1 <host>
1402-
[doc] unstable-book (book) <target1>
14031400
[build] llvm <host>
14041401
[build] rustc 0 <host> -> rustc 1 <host>
14051402
[build] rustc 0 <host> -> WasmComponentLd 1 <host>
14061403
[build] rustc 1 <host> -> std 1 <target1>
1404+
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1405+
[build] rustc 0 <host> -> Rustbook 1 <host>
1406+
[doc] unstable-book (book) <target1>
14071407
[doc] book (book) <target1>
14081408
[doc] book/first-edition (book) <target1>
14091409
[doc] book/second-edition (book) <target1>
@@ -1465,13 +1465,13 @@ mod snapshot {
14651465
.config("dist")
14661466
.args(&["--set", "rust.codegen-backends=['llvm', 'cranelift']"])
14671467
.render_steps(), @r"
1468-
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1469-
[build] rustc 0 <host> -> Rustbook 1 <host>
1470-
[doc] unstable-book (book) <host>
14711468
[build] llvm <host>
14721469
[build] rustc 0 <host> -> rustc 1 <host>
14731470
[build] rustc 0 <host> -> rustc_codegen_cranelift 1 <host>
14741471
[build] rustc 1 <host> -> std 1 <host>
1472+
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
1473+
[build] rustc 0 <host> -> Rustbook 1 <host>
1474+
[doc] unstable-book (book) <host>
14751475
[doc] book (book) <host>
14761476
[doc] book/first-edition (book) <host>
14771477
[doc] book/second-edition (book) <host>
@@ -1875,6 +1875,9 @@ mod snapshot {
18751875
insta::assert_snapshot!(
18761876
ctx.config("doc")
18771877
.render_steps(), @r"
1878+
[build] llvm <host>
1879+
[build] rustc 0 <host> -> rustc 1 <host>
1880+
[build] rustc 1 <host> -> std 1 <host>
18781881
[build] rustc 0 <host> -> UnstableBookGen 1 <host>
18791882
[build] rustc 0 <host> -> Rustbook 1 <host>
18801883
[doc] unstable-book (book) <host>
@@ -1884,14 +1887,11 @@ mod snapshot {
18841887
[doc] book/2018-edition (book) <host>
18851888
[build] rustdoc 0 <host>
18861889
[doc] rustc 0 <host> -> standalone 1 <host>
1887-
[build] llvm <host>
1888-
[build] rustc 0 <host> -> rustc 1 <host>
18891890
[build] rustdoc 1 <host>
18901891
[doc] rustc 1 <host> -> std 1 <host> crates=[alloc,compiler_builtins,core,panic_abort,panic_unwind,proc_macro,rustc-std-workspace-core,std,std_detect,sysroot,test,unwind]
18911892
[build] rustc 0 <host> -> error-index 1 <host>
18921893
[doc] rustc 0 <host> -> error-index 1 <host>
18931894
[doc] nomicon (book) <host>
1894-
[build] rustc 1 <host> -> std 1 <host>
18951895
[doc] rustc 1 <host> -> reference (book) 2 <host>
18961896
[doc] rustdoc (book) <host>
18971897
[doc] rust-by-example (book) <host>

0 commit comments

Comments
 (0)