File tree 3 files changed +2
-7
lines changed
3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 5
5
//@ no-prefer-dynamic
6
6
//@ ignore-wasm32 no processes
7
7
//@ ignore-sgx no processes
8
- //@ ignore-macos
9
8
10
9
extern crate exit_success_if_unwind;
11
10
12
- use std:: process:: Command ;
13
11
use std:: env;
12
+ use std:: process:: Command ;
14
13
15
14
fn main ( ) {
16
15
let mut args = env:: args_os ( ) ;
@@ -25,7 +24,6 @@ fn main() {
25
24
let mut cmd = Command :: new ( env:: args_os ( ) . next ( ) . unwrap ( ) ) ;
26
25
cmd. arg ( "foo" ) ;
27
26
28
-
29
27
// ARMv6 hanges while printing the backtrace, see #41004
30
28
if cfg ! ( target_arch = "arm" ) && cfg ! ( target_env = "gnu" ) {
31
29
cmd. env ( "RUST_BACKTRACE" , "0" ) ;
Original file line number Diff line number Diff line change 4
4
//@ no-prefer-dynamic
5
5
//@ ignore-wasm32 no processes
6
6
//@ ignore-sgx no processes
7
- //@ ignore-macos
8
7
9
- use std:: process:: Command ;
10
8
use std:: env;
9
+ use std:: process:: Command ;
11
10
12
11
struct Bomb ;
13
12
@@ -23,7 +22,6 @@ fn main() {
23
22
24
23
if let Some ( s) = args. next ( ) {
25
24
if & * s == "foo" {
26
-
27
25
let _bomb = Bomb ;
28
26
29
27
panic ! ( "try to catch me" ) ;
Original file line number Diff line number Diff line change 2
2
3
3
//@ compile-flags:-C panic=abort
4
4
//@ no-prefer-dynamic
5
- //@ ignore-macos
6
5
7
6
#![ feature( panic_abort) ]
8
7
You can’t perform that action at this time.
0 commit comments