@@ -1240,24 +1240,23 @@ mod snapshot {
12401240 ctx. config( "check" )
12411241 . path( "compiler" )
12421242 . render_steps( ) , @r"
1243- [check] std <host>
12441243 [build] llvm <host>
1245- [check] rustc <host>
1246- [check] cranelift <host>
1247- [check] gcc <host>
1244+ [check] rustc 0 <host> -> rustc 1 <host>
1245+ [check] rustc 0 <host> -> cranelift 1 <host>
1246+ [check] rustc 0 <host> -> gcc 1 <host>
12481247 " ) ;
12491248
12501249 insta:: assert_snapshot!(
12511250 ctx. config( "check" )
12521251 . path( "rustc" )
12531252 . render_steps( ) , @r"
1254- [check] std <host>
12551253 [build] llvm <host>
1256- [check] rustc <host>
1254+ [check] rustc 0 <host> -> rustc 1 <host>
12571255 " ) ;
12581256 }
12591257
12601258 #[ test]
1259+ #[ should_panic]
12611260 fn check_compiler_stage_0 ( ) {
12621261 let ctx = TestCtx :: new ( ) ;
12631262 ctx. config ( "check" ) . path ( "compiler" ) . stage ( 0 ) . run ( ) ;
@@ -1272,11 +1271,9 @@ mod snapshot {
12721271 . stage( 1 )
12731272 . render_steps( ) , @r"
12741273 [build] llvm <host>
1275- [build] rustc 0 <host> -> rustc 1 <host>
1276- [build] rustc 1 <host> -> std 1 <host>
1277- [check] rustc <host>
1278- [check] cranelift <host>
1279- [check] gcc <host>
1274+ [check] rustc 0 <host> -> rustc 1 <host>
1275+ [check] rustc 0 <host> -> cranelift 1 <host>
1276+ [check] rustc 0 <host> -> gcc 1 <host>
12801277 " ) ;
12811278 }
12821279
@@ -1291,11 +1288,9 @@ mod snapshot {
12911288 [build] llvm <host>
12921289 [build] rustc 0 <host> -> rustc 1 <host>
12931290 [build] rustc 1 <host> -> std 1 <host>
1294- [build] rustc 1 <host> -> rustc 2 <host>
1295- [build] rustc 2 <host> -> std 2 <host>
1296- [check] rustc <host>
1297- [check] cranelift <host>
1298- [check] gcc <host>
1291+ [check] rustc 1 <host> -> rustc 2 <host>
1292+ [check] rustc 1 <host> -> cranelift 2 <host>
1293+ [check] rustc 1 <host> -> gcc 2 <host>
12991294 " ) ;
13001295 }
13011296
@@ -1304,30 +1299,24 @@ mod snapshot {
13041299 let ctx = TestCtx :: new ( ) ;
13051300 insta:: assert_snapshot!(
13061301 ctx. config( "check" )
1307- . stage( 2 )
13081302 . targets( & [ TEST_TRIPLE_1 ] )
13091303 . hosts( & [ TEST_TRIPLE_1 ] )
13101304 . render_steps( ) , @r"
13111305 [build] llvm <host>
13121306 [build] rustc 0 <host> -> rustc 1 <host>
13131307 [build] rustc 1 <host> -> std 1 <host>
1314- [build] rustc 1 <host> -> rustc 2 <host>
1315- [build] rustc 2 <host> -> std 2 <host>
13161308 [build] rustc 1 <host> -> std 1 <target1>
1317- [build] rustc 2 <host> -> std 2 <target1>
1318- [check] rustc <target1>
1319- [check] Rustdoc <target1>
1320- [check] cranelift <target1>
1321- [check] gcc <target1>
1322- [check] Clippy <target1>
1323- [check] Miri <target1>
1324- [check] CargoMiri <target1>
1325- [check] MiroptTestTools <target1>
1326- [check] Rustfmt <target1>
1327- [check] rust-analyzer <target1>
1328- [check] TestFloatParse <target1>
1329- [check] FeaturesStatusDump <target1>
1330- [check] std <target1>
1309+ [check] rustc 1 <host> -> rustc 2 <target1>
1310+ [check] rustc 1 <host> -> Rustdoc 2 <target1>
1311+ [check] rustc 1 <host> -> cranelift 2 <target1>
1312+ [check] rustc 1 <host> -> gcc 2 <target1>
1313+ [check] rustc 1 <host> -> Clippy 2 <target1>
1314+ [check] rustc 1 <host> -> Miri 2 <target1>
1315+ [check] rustc 1 <host> -> CargoMiri 2 <target1>
1316+ [check] rustc 1 <host> -> Rustfmt 2 <target1>
1317+ [check] rustc 1 <host> -> rust-analyzer 2 <target1>
1318+ [check] rustc 1 <host> -> TestFloatParse 2 <target1>
1319+ [check] rustc 1 <host> -> std 1 <target1>
13311320 " ) ;
13321321 }
13331322
@@ -1340,11 +1329,12 @@ mod snapshot {
13401329 . render_steps( ) , @r"
13411330 [build] llvm <host>
13421331 [build] rustc 0 <host> -> rustc 1 <host>
1343- [check] std <host>
1332+ [check] rustc 1 <host> -> std 1 <host>
13441333 " ) ;
13451334 }
13461335
13471336 #[ test]
1337+ #[ should_panic]
13481338 fn check_library_stage_0 ( ) {
13491339 let ctx = TestCtx :: new ( ) ;
13501340 ctx. config ( "check" ) . path ( "library" ) . stage ( 0 ) . run ( ) ;
@@ -1360,7 +1350,7 @@ mod snapshot {
13601350 . render_steps( ) , @r"
13611351 [build] llvm <host>
13621352 [build] rustc 0 <host> -> rustc 1 <host>
1363- [check] std <host>
1353+ [check] rustc 1 <host> -> std 1 <host>
13641354 " ) ;
13651355 }
13661356
@@ -1376,7 +1366,7 @@ mod snapshot {
13761366 [build] rustc 0 <host> -> rustc 1 <host>
13771367 [build] rustc 1 <host> -> std 1 <host>
13781368 [build] rustc 1 <host> -> rustc 2 <host>
1379- [check] std <host>
1369+ [check] rustc 2 <host> -> std 2 <host>
13801370 " ) ;
13811371 }
13821372
@@ -1390,8 +1380,8 @@ mod snapshot {
13901380 . render_steps( ) , @r"
13911381 [build] llvm <host>
13921382 [build] rustc 0 <host> -> rustc 1 <host>
1393- [check] std <target1>
1394- [check] std <target2>
1383+ [check] rustc 1 <host> -> std 1 <target1>
1384+ [check] rustc 1 <host> -> std 1 <target2>
13951385 " ) ;
13961386 }
13971387
@@ -1402,14 +1392,14 @@ mod snapshot {
14021392 ctx. config( "check" )
14031393 . path( "miri" )
14041394 . render_steps( ) , @r"
1405- [check] std <host>
14061395 [build] llvm <host>
1407- [check] rustc <host>
1408- [check] Miri <host>
1396+ [check] rustc 0 <host> -> rustc 1 <host>
1397+ [check] rustc 0 <host> -> Miri 1 <host>
14091398 " ) ;
14101399 }
14111400
14121401 #[ test]
1402+ #[ should_panic]
14131403 fn check_miri_stage_0 ( ) {
14141404 let ctx = TestCtx :: new ( ) ;
14151405 ctx. config ( "check" ) . path ( "miri" ) . stage ( 0 ) . run ( ) ;
@@ -1424,10 +1414,8 @@ mod snapshot {
14241414 . stage( 1 )
14251415 . render_steps( ) , @r"
14261416 [build] llvm <host>
1427- [build] rustc 0 <host> -> rustc 1 <host>
1428- [build] rustc 1 <host> -> std 1 <host>
1429- [check] rustc <host>
1430- [check] Miri <host>
1417+ [check] rustc 0 <host> -> rustc 1 <host>
1418+ [check] rustc 0 <host> -> Miri 1 <host>
14311419 " ) ;
14321420 }
14331421
@@ -1442,10 +1430,8 @@ mod snapshot {
14421430 [build] llvm <host>
14431431 [build] rustc 0 <host> -> rustc 1 <host>
14441432 [build] rustc 1 <host> -> std 1 <host>
1445- [build] rustc 1 <host> -> rustc 2 <host>
1446- [build] rustc 2 <host> -> std 2 <host>
1447- [check] rustc <host>
1448- [check] Miri <host>
1433+ [check] rustc 1 <host> -> rustc 2 <host>
1434+ [check] rustc 1 <host> -> Miri 2 <host>
14491435 " ) ;
14501436 }
14511437
@@ -1466,9 +1452,9 @@ mod snapshot {
14661452 . path( "compiletest" )
14671453 . args( & [ "--set" , "build.compiletest-use-stage0-libtest=false" ] )
14681454 . render_steps( ) , @r"
1469- [check] std <host>
14701455 [build] llvm <host>
1471- [check] rustc <host>
1456+ [build] rustc 0 <host> -> rustc 1 <host>
1457+ [build] rustc 1 <host> -> std 1 <host>
14721458 [check] compiletest <host>
14731459 " ) ;
14741460 }
@@ -1480,11 +1466,10 @@ mod snapshot {
14801466 ctx. config( "check" )
14811467 . path( "rustc_codegen_cranelift" )
14821468 . render_steps( ) , @r"
1483- [check] std <host>
14841469 [build] llvm <host>
1485- [check] rustc <host>
1486- [check] cranelift <host>
1487- [check] gcc <host>
1470+ [check] rustc 0 <host> -> rustc 1 <host>
1471+ [check] rustc 0 <host> -> cranelift 1 <host>
1472+ [check] rustc 0 <host> -> gcc 1 <host>
14881473 " ) ;
14891474 }
14901475
@@ -1495,10 +1480,9 @@ mod snapshot {
14951480 ctx. config( "check" )
14961481 . path( "rust-analyzer" )
14971482 . render_steps( ) , @r"
1498- [check] std <host>
14991483 [build] llvm <host>
1500- [check] rustc <host>
1501- [check] rust-analyzer <host>
1484+ [check] rustc 0 <host> -> rustc 1 <host>
1485+ [check] rustc 0 <host> -> rust-analyzer 1 <host>
15021486 " ) ;
15031487 }
15041488
@@ -1508,12 +1492,7 @@ mod snapshot {
15081492 insta:: assert_snapshot!(
15091493 ctx. config( "check" )
15101494 . path( "run-make-support" )
1511- . render_steps( ) , @r"
1512- [check] std <host>
1513- [build] llvm <host>
1514- [check] rustc <host>
1515- [check] RunMakeSupport <host>
1516- " ) ;
1495+ . render_steps( ) , @"[check] rustc 0 <host> -> RunMakeSupport 1 <host>" ) ;
15171496 }
15181497
15191498 #[ test]
0 commit comments