rust/src
Stuart Cook b1c72fbb72
Rollup merge of #150473 - RalfJung:interpret-tail-call, r=WaffleLapkin
tail calls: fix copying non-scalar arguments to callee

Alternative to https://github.com/rust-lang/rust/pull/144933: when invoking a tail call with a non-scalar argument, we need to delay freeing the caller's local variables until after the callee is initialized, so that we can copy things from the caller to the callee.

Fixes https://github.com/rust-lang/rust/issues/144820... but as the FIXMEs in the code show, it's not clear to me whether these are the right semantics.
r? @WaffleLapkin
2026-02-18 17:29:42 +11:00
..
bootstrap Auto merge of #152677 - ehuss:bootstrap-json-target-spec, r=davidtwco,jieyouxu 2026-02-17 17:35:50 +00:00
build_helper citool: report debuginfo test statistics 2026-02-04 06:44:09 +05:30
ci Rollup merge of #152609 - mati865:gnullvm-llvm-dll, r=bjorn3 2026-02-17 14:18:43 +01:00
doc Remove last remnants of rustc_query_system. 2026-02-16 22:56:47 +11:00
etc fixup debugger files wrt to MaybeDangling 2025-12-26 22:02:17 +01:00
gcc@efdd0a7290 Update GCC submodule 2026-02-14 16:59:09 +01:00
librustdoc Rollup merge of #152664 - Embers-of-the-Fire:fix-152601, r=GuillaumeGomez 2026-02-17 13:02:24 +11:00
llvm-project@a306f6a8c5 Update to LLVM 22 rc 3 2026-02-10 10:11:25 +01: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 #150473 - RalfJung:interpret-tail-call, r=WaffleLapkin 2026-02-18 17:29:42 +11:00
README.md
stage0 Bump stage0 2026-01-21 20:03:56 -05:00
version Bump version to 1.95.0 2026-01-17 10:19:26 -05: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.