rust/src
bors 8b10bda1e4 Auto merge of #3833 - JoJoDeveloping:tb-fix-stack-overflow, r=RalfJung
Make Tree Borrows Provenance GC no longer produce stack overflows

Most functions operating on Tree Borrows' trees are carefully written to not cause stack overflows due to too much recursion. The one exception is [`Tree::keep_only_needed`](94f5588faf/src/borrow_tracker/tree_borrows/tree.rs (L724)), which just uses regular recursion.
This function is part of the provenance GC, so it is called regularly for every allocation in the program.

Tests show that this is a problem in practice. For example, the test `fill::horizontal_line` in crate `tiny-skia` (version 0.11.4) is such a test.

This PR changes this, this test no now longer crashes. Instead, it succeeds (after a _long_ time).
2024-08-22 12:52:35 +00:00
..
bootstrap Auto merge of #129275 - matthiaskrgr:rollup-qv64hg6, r=matthiaskrgr 2024-08-19 20:42:45 +00:00
ci Auto merge of #128722 - tgross35:new-resolver-root, r=Mark-Simulacrum 2024-08-19 09:50:33 +00:00
doc Auto merge of #126450 - madsmtm:promote-mac-catalyst, r=Mark-Simulacrum 2024-08-18 15:52:58 +00:00
etc Generate completions after version updates 2024-08-18 22:52:54 -05:00
librustdoc Auto merge of #128792 - compiler-errors:foreign-sig, r=spastorino 2024-08-17 19:35:01 +00:00
llvm-project@ccf4c38bdd Re-update to LLVM 19 rc2 2024-08-13 16:43:52 -07:00
rustdoc-json-types rustdoc-json: Use FxHashMap from rustdoc_json_types 2024-08-15 13:12:11 +00:00
tools Auto merge of #3833 - JoJoDeveloping:tb-fix-stack-overflow, r=RalfJung 2024-08-22 12:52:35 +00:00
README.md
stage0 Bump src/stage0 with determinism 2024-07-30 15:16:35 -07:00
version Bump to 1.82 2024-07-20 10:30:39 -04: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.