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 @@ -1655,22 +1655,15 @@ mod snapshot {
1655
1655
1656
1656
#[ test]
1657
1657
fn test_lld_opt_in ( ) {
1658
- let target: & ' static str = Box :: leak ( Box :: new ( host_target ( ) ) ) ;
1659
- let slice: & ' static [ & ' static str ] = Box :: leak ( Box :: new ( [ target] ) ) ;
1660
-
1661
- with_lld_opt_in_targets ( slice, || {
1658
+ with_lld_opt_in_targets ( vec ! [ host_target( ) ] , || {
1662
1659
let ctx = TestCtx :: new ( ) ;
1663
-
1664
1660
insta:: assert_snapshot!(
1665
- ctx. config( "doc" )
1666
- . path( "core" )
1667
- . override_target_no_std( & host_target( ) )
1661
+ ctx. config( "build" )
1662
+ . path( "compiler" )
1668
1663
. render_steps( ) , @r"
1669
1664
[build] llvm <host>
1670
1665
[build] rustc 0 <host> -> rustc 1 <host>
1671
1666
[build] rustc 0 <host> -> LldWrapper 1 <host>
1672
- [build] rustdoc 0 <host>
1673
- [doc] std 1 <host> crates=[core]
1674
1667
" ) ;
1675
1668
} ) ;
1676
1669
}
You can’t perform that action at this time.
0 commit comments