Remove -sASSERTIONS=1 from wasm32_unknown_emscripten default link args
This is a debug setting. We should only make debug builds if user requests a debug build. Currently this is inserted in release builds. Furthermore, it would be better to insert these settings in --pre-link-args because then it would be possible to override them if appropriate. Because these are inserted at the end, it is necessary to patch emscripten to remove them.
This commit is contained in:
parent
1a97162cb2
commit
db14d81098
@ -20,8 +20,6 @@ pub fn target() -> Target {
|
||||
"-s".into(),
|
||||
"ERROR_ON_UNDEFINED_SYMBOLS=1".into(),
|
||||
"-s".into(),
|
||||
"ASSERTIONS=1".into(),
|
||||
"-s".into(),
|
||||
"ABORTING_MALLOC=0".into(),
|
||||
"-Wl,--fatal-warnings".into(),
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user