We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tests/ui/panic-runtime/lto-unwind.rs
1 parent 0cc392e commit a5d72f4Copy full SHA for a5d72f4
tests/ui/panic-runtime/lto-unwind.rs
@@ -1,11 +1,8 @@
1
//@ run-pass
2
-#![allow(unused_variables)]
3
-
4
//@ compile-flags:-C lto -C panic=unwind
5
//@ needs-unwind
6
//@ no-prefer-dynamic
7
-//@ ignore-emscripten no processes
8
-//@ ignore-sgx no processes
+//@ needs-subprocess
9
10
use std::process::Command;
11
use std::env;
@@ -20,7 +17,7 @@ impl Drop for Bomb {
20
17
21
18
fn main() {
22
19
let mut args = env::args_os();
23
- let me = args.next().unwrap();
+ let _ = args.next().unwrap();
24
25
if let Some(s) = args.next() {
26
if &*s == "foo" {
0 commit comments