@@ -1631,59 +1631,33 @@ mod snapshot {
1631
1631
#[ test]
1632
1632
fn doc_core_no_std_target ( ) {
1633
1633
let ctx = TestCtx :: new ( ) ;
1634
- if host_target ( ) == "x86_64-unknown-linux-gnu" {
1635
- insta:: assert_snapshot!(
1636
- ctx. config( "doc" )
1637
- . path( "core" )
1638
- . override_target_no_std( & host_target( ) )
1639
- . render_steps( ) , @r"
1640
- [build] llvm <host>
1641
- [build] rustc 0 <host> -> rustc 1 <host>
1642
- [build] rustc 0 <host> -> LldWrapper 1 <host>
1643
- [build] rustdoc 0 <host>
1644
- [doc] std 1 <host> crates=[core]
1645
- " ) ;
1646
- } else {
1647
- insta:: assert_snapshot!(
1648
- ctx. config( "doc" )
1649
- . path( "core" )
1650
- . override_target_no_std( & host_target( ) )
1651
- . render_steps( ) , @r"
1652
- [build] llvm <host>
1653
- [build] rustc 0 <host> -> rustc 1 <host>
1654
- [build] rustdoc 0 <host>
1655
- [doc] std 1 <host> crates=[core]
1656
- " ) ;
1657
- }
1634
+
1635
+ insta:: assert_snapshot!(
1636
+ ctx. config( "doc" )
1637
+ . path( "core" )
1638
+ . override_target_no_std( & host_target( ) )
1639
+ . render_steps( ) , @r"
1640
+ [build] llvm <host>
1641
+ [build] rustc 0 <host> -> rustc 1 <host>
1642
+ [build] rustdoc 0 <host>
1643
+ [doc] std 1 <host> crates=[core]
1644
+ " ) ;
1658
1645
}
1659
1646
1660
1647
#[ test]
1661
1648
fn doc_library_no_std_target ( ) {
1662
1649
let ctx = TestCtx :: new ( ) ;
1663
- if host_target ( ) == "x86_64-unknown-linux-gnu" {
1664
- insta:: assert_snapshot!(
1665
- ctx. config( "doc" )
1666
- . path( "library" )
1667
- . override_target_no_std( & host_target( ) )
1668
- . render_steps( ) , @r"
1669
- [build] llvm <host>
1670
- [build] rustc 0 <host> -> rustc 1 <host>
1671
- [build] rustc 0 <host> -> LldWrapper 1 <host>
1672
- [build] rustdoc 0 <host>
1673
- [doc] std 1 <host> crates=[alloc,core]
1674
- " ) ;
1675
- } else {
1676
- insta:: assert_snapshot!(
1677
- ctx. config( "doc" )
1678
- . path( "library" )
1679
- . override_target_no_std( & host_target( ) )
1680
- . render_steps( ) , @r"
1681
- [build] llvm <host>
1682
- [build] rustc 0 <host> -> rustc 1 <host>
1683
- [build] rustdoc 0 <host>
1684
- [doc] std 1 <host> crates=[alloc,core]
1685
- " ) ;
1686
- }
1650
+
1651
+ insta:: assert_snapshot!(
1652
+ ctx. config( "doc" )
1653
+ . path( "library" )
1654
+ . override_target_no_std( & host_target( ) )
1655
+ . render_steps( ) , @r"
1656
+ [build] llvm <host>
1657
+ [build] rustc 0 <host> -> rustc 1 <host>
1658
+ [build] rustdoc 0 <host>
1659
+ [doc] std 1 <host> crates=[alloc,core]
1660
+ " ) ;
1687
1661
}
1688
1662
1689
1663
#[ test]
0 commit comments