about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorHood Chatham <roberthoodchatham@gmail.com>2022-06-09 12:52:03 -0700
committerHood Chatham <roberthoodchatham@gmail.com>2022-06-09 12:54:17 -0700
commitdb14d81098a9eb4d46880fa905f71a204b994942 (patch)
tree52193f10097f9555ddffa8750dd37f7ea2a9cdd7 /src/librustdoc/html/static/js/source-script.js
parent1a97162cb245b5e2c7458c28859e3df779908c02 (diff)
downloadrust-db14d81098a9eb4d46880fa905f71a204b994942.tar.gz
rust-db14d81098a9eb4d46880fa905f71a204b994942.zip
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.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions