@@ -1724,6 +1724,47 @@ mod snapshot {
1724
1724
" ) ;
1725
1725
}
1726
1726
1727
+ #[ test]
1728
+ fn dist_rustc_docs ( ) {
1729
+ let ctx = TestCtx :: new ( ) ;
1730
+ insta:: assert_snapshot!(
1731
+ ctx
1732
+ . config( "dist" )
1733
+ . path( "rustc-docs" )
1734
+ . render_steps( ) , @r"
1735
+ [build] rustc 0 <host> -> UnstableBookGen 1 <host>
1736
+ [build] rustc 0 <host> -> Rustbook 1 <host>
1737
+ [doc] unstable-book (book) <host>
1738
+ [build] llvm <host>
1739
+ [build] rustc 0 <host> -> rustc 1 <host>
1740
+ [build] rustc 1 <host> -> std 1 <host>
1741
+ [doc] book (book) <host>
1742
+ [doc] book/first-edition (book) <host>
1743
+ [doc] book/second-edition (book) <host>
1744
+ [doc] book/2018-edition (book) <host>
1745
+ [build] rustdoc 1 <host>
1746
+ [doc] rustc 1 <host> -> standalone 2 <host>
1747
+ [build] rustc 1 <host> -> rustc 2 <host>
1748
+ [build] rustdoc 2 <host>
1749
+ [doc] rustc 2 <host> -> std 2 <host> crates=[alloc,compiler_builtins,core,panic_abort,panic_unwind,proc_macro,rustc-std-workspace-core,std,std_detect,sysroot,test,unwind]
1750
+ [build] rustc 1 <host> -> error-index 2 <host>
1751
+ [doc] rustc 1 <host> -> error-index 2 <host>
1752
+ [doc] nomicon (book) <host>
1753
+ [doc] rustc 1 <host> -> reference (book) 2 <host>
1754
+ [doc] rustdoc (book) <host>
1755
+ [doc] rust-by-example (book) <host>
1756
+ [build] rustc 0 <host> -> LintDocs 1 <host>
1757
+ [doc] rustc (book) <host>
1758
+ [doc] cargo (book) <host>
1759
+ [doc] clippy (book) <host>
1760
+ [doc] embedded-book (book) <host>
1761
+ [doc] edition-guide (book) <host>
1762
+ [doc] style-guide (book) <host>
1763
+ [doc] rustc 1 <host> -> releases 2 <host>
1764
+ [build] rustc 0 <host> -> RustInstaller 1 <host>
1765
+ " ) ;
1766
+ }
1767
+
1727
1768
#[ test]
1728
1769
fn check_compiler_no_explicit_stage ( ) {
1729
1770
let ctx = TestCtx :: new ( ) ;
0 commit comments