rust/src
Weihang Lo c81a40bbc0
opt-dist: dont overrwite config.toml when verifying
This is another step toward making opt-dist work in sandboxed environments

opt-dist verifies the final built rustc against a subset of rustc test
suite. However it overwrote the pre-existing `config.toml` [^1],
and that results in ./vendor/ directory removed [^2].

Instead of overwriting, this patch use `--set <config-value>` to
override paths to rustc / cargo / llvm-config.

[^1]: 606afbb617/src/tools/opt-dist/src/tests.rs (L62-L77)
[^2]: 8679004993/src/bootstrap/bootstrap.py (L1057)
2024-05-25 23:23:47 -04:00
..
bootstrap Auto merge of #125515 - weihanglo:target-toml-override, r=onur-ozkan 2024-05-25 20:15:11 +00:00
ci Rollup merge of #125011 - diondokter:opt-for-size, r=Amanieu,kobzol 2024-05-21 12:47:04 +02:00
doc Remove unnecessary .md from the documentation sidebar 2024-05-22 07:38:37 +02:00
etc lldb-formatters: Use StdSliceSyntheticProvider for &str 2024-05-11 12:11:55 -07:00
librustdoc Rollup merge of #124976 - petrochenkov:usedcrates, r=oli-obk 2024-05-23 14:09:23 +02:00
llvm-project@b31c30a9bb Update to LLVM 18.1.6 2024-05-19 18:24:30 +02:00
rustdoc-json-types Rollup merge of #125130 - aDotInTheVoid:id-docs, r=GuillaumeGomez 2024-05-16 16:22:45 +02:00
tools opt-dist: dont overrwite config.toml when verifying 2024-05-25 23:23:47 -04:00
README.md
stage0 Bump bootstrap compiler to the latest beta compiler 2024-05-24 08:07:39 +02:00
version Bump version to 1.80 2024-04-27 19:03:50 -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.