rust/src
Matthias Krüger ecb377fc4a
Rollup merge of #145885 - madsmtm:lldb-inherit-tcc, r=Kobzol
Inherit TCC in debuginfo tests on macOS

macOS has a system for propagating folder permissions, which LLDB disables when spawning processes, which in turn causes debuginfo tests to spam the user with repeated pop-ups asking for permissions. See the code comment for details, as well as the following video for an example of how this looks in practice:

https://github.com/user-attachments/assets/1e54f5b8-9130-4b59-8e92-1db1e58fb361

I stumbled upon the incantation to fix this (`settings set target.inherit-tcc true`) while investigating slowdowns when spawning newly created binaries due to XprotectService, see [this Zulip thread](https://rust-lang.zulipchat.com/#narrow/channel/246057-t-cargo/topic/build.20scripts.20slow.20on.20macOS.3F).

This would allow me to no longer have a `build.build-dir = "/Users/madsmtm/rust-build"` workaround in my `bootstrap.toml`.
2025-08-27 11:26:51 +02:00
..
bootstrap Rollup merge of #145887 - GuillaumeGomez:bootstrap-codegen-backends, r=Kobzol 2025-08-26 23:25:04 +02:00
build_helper Fix some minor issues in comments 2025-08-24 16:58:22 +08:00
ci Rollup merge of #145790 - mati865:gnullvm-improve-dist, r=Kobzol 2025-08-26 23:25:01 +02:00
doc Rollup merge of #145904 - Kobzol:riscv-musl-platform-support, r=jieyouxu 2025-08-27 07:45:57 +02:00
etc Rollup merge of #145596 - lumiscosity:optimize-png-files, r=davidtwco 2025-08-26 16:34:12 +02:00
gcc@4e995bd73c Update GCC submodule 2025-08-26 18:09:42 +02:00
librustdoc Add itertools to [workspace.dependencies]. 2025-08-27 14:21:21 +10:00
llvm-project@9a1f898064 Update to LLVM 21.1.0 rc3 2025-08-12 12:01:55 +02:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types rustdoc-json: Move #[macro_export] from Other to it's own variant 2025-07-30 19:57:32 +00:00
tools Rollup merge of #145885 - madsmtm:lldb-inherit-tcc, r=Kobzol 2025-08-27 11:26:51 +02:00
README.md
stage0 bump stage0 2025-08-06 13:22:38 +01:00
version bump version 2025-08-01 09:04:01 +01: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.