diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-01-31 12:28:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-31 12:28:15 +0100 |
| commit | 86595e4c885fc95f4810676e311593455ce9a6ec (patch) | |
| tree | 4330b455871555e0a9cd37a804e19be57b334fd2 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 25a16572a36321deae83546b63f5595d75361179 (diff) | |
| parent | b7951380ca9e8eddcd67bf947b592d10e21bdea5 (diff) | |
| download | rust-86595e4c885fc95f4810676e311593455ce9a6ec.tar.gz rust-86595e4c885fc95f4810676e311593455ce9a6ec.zip | |
Rollup merge of #134531 - GuillaumeGomez:extract-doctests, r=notriddle,aDotInTheVoid
[rustdoc] Add `--extract-doctests` command-line flag Part of https://github.com/rust-lang/rust/issues/134529. It was discussed with the Rust-for-Linux project recently that they needed a way to extract doctests so they can modify them and then run them more easily (look for "a way to extract doctests" [here](https://github.com/Rust-for-Linux/linux/issues/2)). For now, I output most of `ScrapedDoctest` fields in JSON format with `serde_json`. So it outputs the following information: * filename * line * langstr * text cc `@ojeda` r? `@notriddle`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
