about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-06-14 00:32:30 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-06-18 21:41:24 +0200
commit2b789bd0570983e82533f9ed30c80312ac334694 (patch)
treea1bc074ebb134737b1b670927bb9b4105bdd8f61 /src/test/incremental/thinlto
parentb36917b33104dc0af4d26d53899b7cd064a40b22 (diff)
downloadrust-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/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions