rust/compiler/rustc_interface/src
Matthias Krüger 6078dd3bdf
Rollup merge of #147725 - bjorn3:remove_oom_panic, r=Amanieu
Remove -Zoom=panic

There are major questions remaining about the reentrancy that this allows. It doesn't have any users on github outside of a single project that uses it in a panic=abort project to show backtraces. It can still be emulated through `#[alloc_error_handler]` or `set_alloc_error_hook` depending on if you use the standard library or not. And finally it makes it harder to do various improvements to the allocator shim.

With this PR the sole remaining symbol in the allocator shim that is not effectively emulating weak symbols is the symbol that prevents skipping the allocator shim on stable even when it would otherwise be empty because libstd + `#[global_allocator]` is used.

Closes https://github.com/rust-lang/rust/issues/43596
Fixes https://github.com/rust-lang/rust/issues/126683
2025-12-10 07:54:17 +01:00
..
callbacks.rs Represent diagnostic side effects as dep nodes 2025-03-14 16:01:58 +01:00
errors.rs Move more early buffered lints to dyn lint diagnostics (4/N) 2025-09-14 12:38:12 +02:00
interface.rs Use cg_llvm's target_config in miri 2025-11-27 19:12:18 +00:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
limits.rs fixup limit handling code 2025-09-08 15:07:12 -07:00
passes.rs fix(span): track unnormalized source len for dep-info 2025-11-15 09:05:08 -05:00
proc_macro_decls.rs Move methods from Map to TyCtxt, part 4. 2025-03-12 08:55:37 +11:00
queries.rs Skip codegen_crate call in check mode 2025-10-24 10:25:13 +00:00
tests.rs Rollup merge of #147725 - bjorn3:remove_oom_panic, r=Amanieu 2025-12-10 07:54:17 +01:00
util.rs Use cg_llvm's target_config in miri 2025-11-27 19:12:18 +00:00