diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-03-24 01:05:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-24 01:05:53 +0100 |
| commit | 73038c08748f7b79329658feae0bf4a5455babcb (patch) | |
| tree | bcfa9db30863cfadb7a7af555ed484456b68a934 /compiler/rustc_interface/src | |
| parent | 2dcc96883e0cee1d08e17003383f1ca408d64d2d (diff) | |
| parent | bc4f1697fad9a12d5096e63f45890ff289a3c349 (diff) | |
| download | rust-73038c08748f7b79329658feae0bf4a5455babcb.tar.gz rust-73038c08748f7b79329658feae0bf4a5455babcb.zip | |
Rollup merge of #122840 - GuillaumeGomez:rustdoc-test-too-many-args, r=notriddle,Urgau,jieyouxu
`rustdoc --test`: Prevent reaching the maximum size of command-line by using files for arguments if there are too many Fixes #122722. Thanks to this I discovered that rust was using ``@`` to add arguments from a file, quite convenient. If there are too many `cfg` arguments given to `rustdoc --test`, it'll now put them into a temporary file and passing it as argument to the rustc command. I added a test with 100_000 `cfg` arguments to ensure it'll not break again. r? `@notrid`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
