Skip to content

Commit f55ec51

Browse files
Because of issue rust-lang#8, pass -O1 to llc instead of -O0.
1 parent 8d23e66 commit f55ec51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiletest/runtest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,7 @@ fn pnacl_exec_compiled_test(config: &Config, props: &TestProps,
16401640
"x86" => ("i686", false),
16411641
_ => (ARCH, true),
16421642
};
1643-
let mut pnacl_trans_args = vec!("-O0".to_string());
1643+
let mut pnacl_trans_args = vec!("-O1".to_string());
16441644
if tls_use_call {
16451645
pnacl_trans_args.push("-mtls-use-call".to_string());
16461646
}

0 commit comments

Comments
 (0)