Separate emscripten args

This commit is contained in:
Sergey Pepyakin 2017-01-20 21:18:17 +03:00
parent 2bafbba655
commit 62c088c047

View File

@ -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"]);
}
{