File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
src/bootstrap/src/core/builder Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -1646,22 +1646,15 @@ mod snapshot {
1646
1646
1647
1647
#[ test]
1648
1648
fn test_lld_opt_in ( ) {
1649
- let target: & ' static str = Box :: leak ( Box :: new ( host_target ( ) ) ) ;
1650
- let slice: & ' static [ & ' static str ] = Box :: leak ( Box :: new ( [ target] ) ) ;
1651
-
1652
- with_lld_opt_in_targets ( slice, || {
1649
+ with_lld_opt_in_targets ( vec ! [ host_target( ) ] , || {
1653
1650
let ctx = TestCtx :: new ( ) ;
1654
-
1655
1651
insta:: assert_snapshot!(
1656
- ctx. config( "doc" )
1657
- . path( "core" )
1658
- . override_target_no_std( & host_target( ) )
1652
+ ctx. config( "build" )
1653
+ . path( "compiler" )
1659
1654
. render_steps( ) , @r"
1660
1655
[build] llvm <host>
1661
1656
[build] rustc 0 <host> -> rustc 1 <host>
1662
1657
[build] rustc 0 <host> -> LldWrapper 1 <host>
1663
- [build] rustdoc 0 <host>
1664
- [doc] std 1 <host> crates=[core]
1665
1658
" ) ;
1666
1659
} ) ;
1667
1660
}
You can’t perform that action at this time.
0 commit comments