Skip to content

Commit

Permalink
Because of issue rust-lang#8, pass -O1 to llc instead of -O0.
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondLovesYou committed Aug 8, 2014
1 parent 8d23e66 commit f55ec51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiletest/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,7 @@ fn pnacl_exec_compiled_test(config: &Config, props: &TestProps,
"x86" => ("i686", false),
_ => (ARCH, true),
};
let mut pnacl_trans_args = vec!("-O0".to_string());
let mut pnacl_trans_args = vec!("-O1".to_string());
if tls_use_call {
pnacl_trans_args.push("-mtls-use-call".to_string());
}
Expand Down

0 comments on commit f55ec51

Please sign in to comment.