Skip to content

Commit cc0c81d

Browse files
committed
tests: cleanup tests/ui/panic-runtime/abort-link-to-unwinding-crates.rs
- Ignore unused value, remove `#![allow(unused_variable)]`. - Replace `ignore-*` with `needs-subprocess`.
1 parent b627a30 commit cc0c81d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/ui/panic-runtime/abort-link-to-unwinding-crates.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
//@ run-pass
2-
#![allow(unused_variables)]
32
//@ compile-flags:-C panic=abort
43
//@ aux-build:exit-success-if-unwind.rs
54
//@ no-prefer-dynamic
6-
//@ ignore-wasm32 no processes
7-
//@ ignore-sgx no processes
5+
//@ needs-subprocess
86

97
extern crate exit_success_if_unwind;
108

@@ -13,7 +11,7 @@ use std::process::Command;
1311

1412
fn main() {
1513
let mut args = env::args_os();
16-
let me = args.next().unwrap();
14+
let _ = args.next().unwrap();
1715

1816
if let Some(s) = args.next() {
1917
if &*s == "foo" {

0 commit comments

Comments
 (0)