diff options
| author | Mike Hommey <mh@glandium.org> | 2018-06-01 08:50:07 +0900 |
|---|---|---|
| committer | Mike Hommey <mh@glandium.org> | 2018-06-01 08:50:07 +0900 |
| commit | b945be71e87f99f7578a039a541aeae6de8b6020 (patch) | |
| tree | 4de8984a807db51bc16c0dde129ce250add3a7af /src/test/incremental/thinlto | |
| parent | e38554cd80af2e99d626230ad3531b55ee3de65c (diff) | |
| download | rust-b945be71e87f99f7578a039a541aeae6de8b6020.tar.gz rust-b945be71e87f99f7578a039a541aeae6de8b6020.zip | |
Make the OOM hook return `()` rather than `!`
Per discussion in https://github.com/rust-lang/rust/issues/51245#issuecomment-393651083 This allows more flexibility in what can be done with the API. This also splits `rtabort!` into `dumb_print` happening in the default hook and `abort_internal`, happening in the actual oom handler after calling the hook. Registering an empty function thus makes the oom handler not print anything but still abort. Cc: @alexcrichton
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
