rust/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
..
bootstrap Rollup merge of #149755 - Zalathar:test-mode, r=jieyouxu 2025-12-09 06:17:25 +01:00
build_helper Use yarn instead of npm in tidy 2025-11-17 10:58:13 +02:00
ci Rollup merge of #149605 - Kobzol:unshalllow-beta, r=cuviper 2025-12-04 16:07:55 +01:00
doc Rollup merge of #149720 - jtracey:patch-1, r=notriddle 2025-12-09 06:17:23 +01:00
etc add a missing comma to default r-a settings file 2025-11-29 21:31:43 +00:00
gcc@0081ca6631 Update GCC submodule 2025-11-26 20:11:43 +01:00
librustdoc add TyCtxt everywhere replacing nothing or passed sessions 2025-12-08 00:24:28 +01:00
llvm-project@16b5ac8b0a Update LLVM to 21.1.5 2025-11-08 10:21:22 +08:00
rustc-std-workspace Generalize branch references to HEAD 2025-11-02 11:15:55 +01:00
rustdoc-json-types rustdoc-json: add rlib path to ExternalCrate to enable robust crate resolution 2025-11-21 09:22:59 +00:00
tools Rollup merge of #147725 - bjorn3:remove_oom_panic, r=Amanieu 2025-12-10 07:54:17 +01:00
README.md
stage0 Change default branch to main 2025-11-10 10:21:34 +01:00
version bump version number 2025-12-05 19:33:24 +00:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.