about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-03-16 05:36:46 +0800
committerkennytm <kennytm@gmail.com>2018-03-16 05:36:46 +0800
commit90230ce3723f6e88f2f39e852a54837b80e59736 (patch)
treef1ce610a776eb3daf941c67e38d4c5f2c4cc49aa /src/rustllvm/RustWrapper.cpp
parent55a0075a20ec064e7ec793656d564e13e9206836 (diff)
parent9e64946bded0698c8c45d74526e6a8b5a514c4a1 (diff)
downloadrust-90230ce3723f6e88f2f39e852a54837b80e59736.tar.gz
rust-90230ce3723f6e88f2f39e852a54837b80e59736.zip
Rollup merge of #49050 - snf:fix_oom_asmjs, r=alexcrichton
setting ABORTING_MALLOC=0 for asmjs backend

This changes the behaviour of the allocator for asmjs backend.
It will return NULL on OOM instead of aborting and let Rust choose the behaviour.
Fixes #48968 and enables try_reserve (fallible allocation) in asmjs.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions