about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-01-14 04:22:18 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-01-14 11:04:40 +0530
commit6f4ede44dec50d58d10349c12256de5f3b254ade (patch)
treefe09a4d3960574d5d861f52031c2aa1555d780c4 /src/rustllvm/RustWrapper.cpp
parent6581563f7a7cafd40d17eb1921726febc10f8628 (diff)
parent98bef2b81823483a23beef48c7999a67206d261d (diff)
downloadrust-6f4ede44dec50d58d10349c12256de5f3b254ade.tar.gz
rust-6f4ede44dec50d58d10349c12256de5f3b254ade.zip
Rollup merge of #30801 - Amanieu:oom_print, r=alexcrichton
This adds the ability to override the default OOM behavior by setting a handler function. This is used by libstd to print a message when running out of memory instead of crashing with an obscure "illegal hardware instruction" error (at least on Linux).

Fixes #14674
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions