Skip to content

Commit

Permalink
Separate emscripten args
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyakin committed Jan 20, 2017
1 parent 2bafbba commit 62c088c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_trans/back/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ fn link_natively(sess: &Session,

if sess.target.target.options.is_like_emscripten &&
sess.panic_strategy() == PanicStrategy::Abort {
cmd.arg("-s DISABLE_EXCEPTION_CATCHING=1");
cmd.args(&["-s", "DISABLE_EXCEPTION_CATCHING=1"]);
}

{
Expand Down

0 comments on commit 62c088c

Please sign in to comment.