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 {
16461646
16471647 #[ test]
16481648 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( ) ] , || {
16531650 let ctx = TestCtx :: new ( ) ;
1654-
16551651 insta:: assert_snapshot!(
1656- ctx. config( "doc" )
1657- . path( "core" )
1658- . override_target_no_std( & host_target( ) )
1652+ ctx. config( "build" )
1653+ . path( "compiler" )
16591654 . render_steps( ) , @r"
16601655 [build] llvm <host>
16611656 [build] rustc 0 <host> -> rustc 1 <host>
16621657 [build] rustc 0 <host> -> LldWrapper 1 <host>
1663- [build] rustdoc 0 <host>
1664- [doc] std 1 <host> crates=[core]
16651658 " ) ;
16661659 } ) ;
16671660 }
You can’t perform that action at this time.
0 commit comments