rust/src
Matthias Krüger a510cbdead
Rollup merge of #123763 - cuviper:host-rpath-run-make-v2, r=jieyouxu
Set the host library path in run-make v2

When the build is configured with `[rust] rpath = false`, we need to set
`LD_LIBRARY_PATH` (or equivalent) to what would have been the `RPATH`,
so the compiler can find its own libraries. The old `tools.mk` code has
this environment prefixed in the `$(BARE_RUSTC)` variable, so we just
need to wire up something similar for run-make v2.

This is now set while building each `rmake.rs` itself, as well as in the
`rust-make-support` helpers for `rustc` and `rustdoc` commands. This is
also available in a `set_host_rpath` function for manual commands, like
in the `compiler-builtins` test.
2024-04-12 04:38:21 +02:00
..
bootstrap correct the handling of bootstrap-cache-path option 2024-04-11 14:57:10 +03:00
ci Rollup merge of #123624 - GuillaumeGomez:theme-switch-tests, r=notriddle 2024-04-09 06:02:22 +02:00
doc Add support for Arm64EC inline assembly 2024-04-10 10:06:44 -07:00
etc Auto merge of #123317 - RalfJung:test-in-miri, r=m-ou-se,saethlin,onur-ozkan 2024-04-05 13:17:09 +00:00
librustdoc Auto merge of #123823 - matthiaskrgr:rollup-8zdtggx, r=matthiaskrgr 2024-04-11 21:56:11 +00:00
llvm-project@af8f9eb61a Update to LLVM 18.1.3 2024-04-06 21:07:35 +08:00
rustdoc-json-types Normalize layout test to protect against android alignment differences 2024-04-08 12:06:28 +00:00
tools Rollup merge of #123763 - cuviper:host-rpath-run-make-v2, r=jieyouxu 2024-04-12 04:38:21 +02:00
README.md
stage0.json Bump stage0 2024-03-19 19:27:24 -04:00
version Bump to 1.79.0 2024-03-16 09:56:09 -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.