diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2018-06-14 00:32:30 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-06-18 21:41:24 +0200 |
| commit | 2b789bd0570983e82533f9ed30c80312ac334694 (patch) | |
| tree | a1bc074ebb134737b1b670927bb9b4105bdd8f61 /src/rustllvm/RustWrapper.cpp | |
| parent | b36917b33104dc0af4d26d53899b7cd064a40b22 (diff) | |
| download | rust-2b789bd0570983e82533f9ed30c80312ac334694.tar.gz rust-2b789bd0570983e82533f9ed30c80312ac334694.zip | |
Rename OOM to allocation error
The acronym is not descriptive unless one has seen it before. * Rename the `oom` function to `handle_alloc_error`. It was **stabilized in 1.28**, so if we do this at all we need to land it this cycle. * Rename `set_oom_hook` to `set_alloc_error_hook` * Rename `take_oom_hook` to `take_alloc_error_hook` Bikeshed: `alloc` v.s. `allocator`, `error` v.s. `failure`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
