rust/src
Matthias Krüger 472bbb9f0c
Rollup merge of #128780 - GuillaumeGomez:rustflags-doctests, r=rustdoc
Add `--doctest-compilation-args` option to add compilation flags to doctest compilation

Fixes #67533.
Tracking issue: https://github.com/rust-lang/rust/issues/134172

It's been something I meant to take a look at for a long time and actually completely forgot... The idea is to allow to give more control over how doctests are compiled to users. To do so, this PR adds a new `--doctest-compilation-args` option which provides extra compilation flags.

r? `@notriddle`
2024-12-21 01:30:14 +01:00
..
bootstrap fix missing ns units in bootstrap's benchmark rendering 2024-12-20 13:37:45 +01:00
build_helper move src/tools/build_helper into src/build_helper 2024-11-11 11:19:11 +03:00
ci Revert "Auto merge of #133809 - mrkajetanp:ci-aarch64-dist, r=Kobzol" 2024-12-20 16:04:39 +01:00
doc Add test to ensure passing --doctest_compilation_args multiple times work 2024-12-20 22:35:00 +01:00
etc Auto merge of #133134 - Walnut356:synth_prov, r=Mark-Simulacrum 2024-12-08 19:30:33 +00:00
gcc@fd3498bff0 Update GCC version 2024-09-06 16:01:46 +02:00
librustdoc Move test into the tests.rs file 2024-12-20 22:35:00 +01:00
llvm-project@59512b0027 Update to LLVM 19.1.6 2024-12-17 16:31:22 +01:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types rustdoc-json: Include safety of statics 2024-12-01 21:39:58 +00:00
tools Rollup merge of #134514 - bjorn3:more_driver_refactors, r=jieyouxu 2024-12-20 21:47:00 +08:00
README.md
stage0 bump stage0 2024-11-27 12:12:23 +00:00
version Bump to 1.85 2024-11-22 11:08:33 +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.