about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-21 01:30:14 +0100
committerGitHub <noreply@github.com>2024-12-21 01:30:14 +0100
commit472bbb9f0caeaf9222b54baf3782df0e2c433c1c (patch)
tree0d432a7b0706d31eb71dd094fb4cf96618bf4ec0 /compiler/rustc_parse/src/parser/expr.rs
parent758ad530058000a287b5e7c63bd82ef2d7c9ed3f (diff)
parent2d914bed2dea1316fdbb55010f3bb2c5412942cb (diff)
downloadrust-472bbb9f0caeaf9222b54baf3782df0e2c433c1c.tar.gz
rust-472bbb9f0caeaf9222b54baf3782df0e2c433c1c.zip
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`
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions