rust/compiler/rustc_session/src
bors d6f3a4ecb4 Auto merge of #88098 - Amanieu:oom_panic, r=nagisa
Implement -Z oom=panic

This PR removes the `#[rustc_allocator_nounwind]` attribute on `alloc_error_handler` which allows it to unwind with a panic instead of always aborting. This is then used to implement `-Z oom=panic` as per RFC 2116 (tracking issue #43596).

Perf and binary size tests show negligible impact.
2022-03-18 03:01:46 +00:00
..
cgu_reuse_tracker.rs Make Diagnostic::span_fatal unconditionally raise an error 2021-05-08 23:12:04 -04:00
code_stats.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
config.rs Auto merge of #88098 - Amanieu:oom_panic, r=nagisa 2022-03-18 03:01:46 +00:00
cstore.rs Import SourceFiles from crate before decoding foreign Span 2021-12-23 12:56:12 -05:00
filesearch.rs Inline and remove FileSearch::search. 2022-02-02 09:06:34 +11:00
lib.rs Auto merge of #93516 - nagisa:branch-protection, r=cjgillot 2022-02-26 21:53:03 +00:00
options.rs Auto merge of #88098 - Amanieu:oom_panic, r=nagisa 2022-03-18 03:01:46 +00:00
output.rs rustc_error: make ErrorReported impossible to construct 2022-03-16 10:35:24 -05:00
parse.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
search_paths.rs Make SearchPathFile::file_name_str non-optional. 2022-02-02 13:16:25 +11:00
session.rs rustc_error: make ErrorReported impossible to construct 2022-03-16 10:35:24 -05:00
utils.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00