rust/src
Guillaume Gomez 080c7043c1
Rollup merge of #150840 - print-check-cfg-rework-output, r=nnethercote
Make `--print=check-cfg` output compatible `--check-cfg` arguments

This PR changes significantly the output of the unstable `--print=check-cfg` option.

Specifically it removes the ad-hoc resemblance with `--print=cfg` in order to output a simplified but still compatible `--check-cfg` arguments.

The goal is to future proof the output of `--print=check-cfg` like `--check-cfg` is, and the best way to do that is to use it's syntax.

This is particularly relevant for [RFC3905](https://github.com/rust-lang/rfcs/pull/3905) which wants to introduce a new predicate: `version(...)`.
2026-01-13 23:39:09 +01:00
..
bootstrap Dogfood -Zno-embed-metadata for the standard library 2026-01-12 10:52:13 +01:00
build_helper Revert bors email to the original homu one 2026-01-11 11:32:32 +01:00
ci Rollup merge of #150771 - remove-homu-branches, r=marcoieni 2026-01-13 23:39:09 +01:00
doc Rollup merge of #150840 - print-check-cfg-rework-output, r=nnethercote 2026-01-13 23:39:09 +01:00
etc fixup debugger files wrt to MaybeDangling 2025-12-26 22:02:17 +01:00
gcc@0081ca6631 Update GCC submodule 2025-11-26 20:11:43 +01:00
librustdoc Rollup merge of #150883 - improve-deprecated-intra-doc-span, r=camelid 2026-01-13 09:01:30 +01:00
llvm-project@00d23d10dc Update LLVM submodule 2025-12-20 09:53:08 +08: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 #150840 - print-check-cfg-rework-output, r=nnethercote 2026-01-13 23:39:09 +01:00
README.md
stage0 Revert bors email to the original homu one 2026-01-11 11:32:32 +01:00
version bump version number 2025-12-05 19:33:24 +00: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.