rust/src
bors 39cf520299 Auto merge of - Amanieu:panic-oom-payload, r=davidtwco
Report allocation errors as panics

OOM is now reported as a panic but with a custom payload type (`AllocErrorPanicPayload`) which holds the layout that was passed to `handle_alloc_error`.

This should be review one commit at a time:
- The first commit adds `AllocErrorPanicPayload` and changes allocation errors to always be reported as panics.
- The second commit removes `#[alloc_error_handler]` and the `alloc_error_hook` API.

ACP: https://github.com/rust-lang/libs-team/issues/192

Closes 
Closes 
2023-04-22 12:27:45 +00:00
..
bootstrap Rollup merge of - ozkanonur:ship-tools-with-sysroot, r=jyn514 2023-04-21 06:44:29 +02:00
ci Rollup merge of - jsoref:spelling-src-ci, r=albertlarsan68 2023-04-19 17:54:40 +02:00
doc Rollup merge of - thomcc:x86_64h-target, r=wesleywiser 2023-04-20 17:59:53 +02:00
etc Spelling tools/compiletest 2023-04-20 15:38:41 -04:00
librustdoc Rollup merge of - notriddle:notriddle/js-cleanup-20230421, r=GuillaumeGomez 2023-04-22 10:33:59 +09:00
llvm-project@ea6fa9c2d4 Update to LLVM 16.0.2 2023-04-19 12:33:37 +02:00
rustdoc-json-types Fix remaining typos 2023-04-10 21:02:49 +02:00
tools Auto merge of - Amanieu:panic-oom-payload, r=davidtwco 2023-04-22 12:27:45 +00:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0.json Bump to latest beta 2023-03-15 08:55:22 -04:00
version bump to rust 1.71.0 2023-04-15 12:29:51 +02: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.