File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ fn main() {
64
64
} ;
65
65
66
66
#[ cfg( unix) ]
67
- Command :: new ( "cargo" ) . args ( args) . exec ( ) ;
67
+ panic ! ( "Failed to spawn cargo: {}" , Command :: new( "cargo" ) . args( args) . exec( ) ) ;
68
68
69
69
#[ cfg( not( unix) ) ]
70
70
std:: process:: exit (
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ fn main() {
30
30
env:: set_var ( "RUSTUP_TOOLCHAIN" , env ! ( "TOOLCHAIN_NAME" ) ) ;
31
31
32
32
#[ cfg( unix) ]
33
- Command :: new ( "rustc" ) . args ( args) . exec ( ) ;
33
+ panic ! ( "Failed to spawn rustc: {}" , Command :: new( "rustc" ) . args( args) . exec( ) ) ;
34
34
35
35
#[ cfg( not( unix) ) ]
36
36
std:: process:: exit (
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ fn main() {
30
30
env:: set_var ( "RUSTUP_TOOLCHAIN" , env ! ( "TOOLCHAIN_NAME" ) ) ;
31
31
32
32
#[ cfg( unix) ]
33
- Command :: new ( "rustdoc" ) . args ( args) . exec ( ) ;
33
+ panic ! ( "Failed to spawn rustdoc: {}" , Command :: new( "rustdoc" ) . args( args) . exec( ) ) ;
34
34
35
35
#[ cfg( not( unix) ) ]
36
36
std:: process:: exit (
You can’t perform that action at this time.
0 commit comments