rust/src
Matthias Krüger ed202b8208
Rollup merge of #94154 - Urgau:rustdoc-check-cfg, r=GuillaumeGomez
Wire up unstable rustc --check-cfg to rustdoc

This pull-request wire up the new unstable `--check-cfg` option from `rustc` to `rustdoc` as [requested](https://github.com/rust-lang/rust/pull/93915#discussion_r807560445) in the [pull-request](https://github.com/rust-lang/rust/pull/93915) that introduce `--check-cfg`.

The motivation was describe in the original PR by ``@jyn514`` who wrote https://github.com/rust-lang/rust/pull/89346#issuecomment-930129761:
> > add plumbing to pass --check-cfg from rustdoc (do we want this one?)
>
> It would be useful, I think, it catches issues like cfg(doctst) or something (and in general I would like expansion to match rustc as closely as possible).
2022-02-25 20:12:47 +01:00
..
bootstrap Rollup merge of #93273 - bjorn3:rustbuild_improvements, r=Mark-Simulacrum 2022-02-25 07:30:48 +01:00
build_helper Hide failed command unless in verbose mode 2022-01-30 17:37:11 -05:00
ci Rollup merge of #94064 - nikic:update-musl-image, r=Mark-Simulacrum 2022-02-17 06:30:05 +01:00
doc Add documentation for --check-cfg in rustdoc book 2022-02-25 02:18:50 +01:00
etc Auto merge of #93626 - wesleywiser:fix_hashmap_natvis, r=michaelwoerister 2022-02-08 10:05:05 +00:00
librustdoc Rollup merge of #94154 - Urgau:rustdoc-check-cfg, r=GuillaumeGomez 2022-02-25 20:12:47 +01:00
llvm-project@e29ac13bc9 Update LLVM submodule 2022-02-16 21:15:30 +01:00
rustdoc-json-types rustdoc-json: Better Header Type 2022-02-18 23:31:33 +00:00
test Rollup merge of #94154 - Urgau:rustdoc-check-cfg, r=GuillaumeGomez 2022-02-25 20:12:47 +01:00
tools Rollup merge of #92714 - yanganto:ignore-message, r=Mark-Simulacrum 2022-02-25 07:30:47 +01:00
README.md
stage0.json bump bootstrap compiler 2022-01-28 15:01:04 +01:00
version Bump version to 1.61 2022-02-19 13:40:33 -05:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.