rust/src
Guillaume Gomez a8a71d093e
Rollup merge of #125452 - Urgau:check-cfg-libraries-cleanup, r=bjorn3
Cleanup check-cfg handling in core and std

Follow-up to https://github.com/rust-lang/rust/pull/125296 where we:
 - expect any feature cfg in std, due to `#[path]` imports
 - move some check-cfg args inside the `build.rs` as per Cargo recommendation
 - and replace the fake Cargo feature `"restricted-std"` by the custom cfg `restricted_std`

Fixes https://github.com/rust-lang/rust/pull/125296#issuecomment-2127009301
r? `@bjorn3` (maybe, feel free to re-roll)
2024-05-23 23:39:29 +02:00
..
bootstrap Move some expected cfgs to std build.rs as per Cargo recommandation 2024-05-23 16:08:31 +02: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 Rollup merge of #125445 - GuillaumeGomez:rustdoc-migrate-short-out-dir, r=jieyouxu 2024-05-23 23:39:28 +02:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0 move comments position in src/stage0 2024-05-11 20:49:01 +03: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.