]> git.lizzy.rs Git - rust.git/commit
Add set_oom_handler and use it print a message when out of memory
authorAmanieu d'Antras <amanieu@gmail.com>
Sat, 9 Jan 2016 18:20:33 +0000 (18:20 +0000)
committerAmanieu d'Antras <amanieu@gmail.com>
Tue, 12 Jan 2016 01:55:45 +0000 (01:55 +0000)
commit757f57bb1eef755474cbb71945ed6370890dd936
tree0ea5fcaf8b512548c82b027c387ce820bd593712
parentd70ab2bdf16c22b9f3ff0230089b44855e3f1593
Add set_oom_handler and use it print a message when out of memory
src/liballoc/lib.rs
src/liballoc/oom.rs [new file with mode: 0644]
src/libstd/sys/unix/mod.rs
src/libstd/sys/windows/mod.rs