about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorMartin Nordholts <martin.nordholts@codetale.se>2025-06-13 16:43:07 +0200
committerMartin Nordholts <martin.nordholts@codetale.se>2025-06-13 17:37:30 +0200
commit764e97c86b47ef4b3c2f085982342b456b4bc2bc (patch)
treecbd294f0dd78f980582801c46476d7de53366ded /compiler/rustc_mir_transform/src
parent015c7770ec0ffdba9ff03f1861144a827497f8ca (diff)
downloadrust-764e97c86b47ef4b3c2f085982342b456b4bc2bc.tar.gz
rust-764e97c86b47ef4b3c2f085982342b456b4bc2bc.zip
compiletest: Clarify that `--no-capture` is needed with `--verbose`
Confusingly, this does not make compile test print what command is used
to run a ui test:

    ./x test tests/ui/panics/abort-on-panic.rs --verbose

It is also necessary to pass `--no-capture`, like this:

    ./x test tests/ui/panics/abort-on-panic.rs --verbose --no-capture

Now you will see prints like this:

    executing cd "/rust/build/x86_64-unknown-linux-gnu/test/ui/panics/abort-on-panic.next" && \
        RUSTC="/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" \
        RUST_TEST_THREADS="32" \
        "/rust/build/x86_64-unknown-linux-gnu/test/ui/panics/abort-on-panic.next/a"

Add a hint in the code for this that would have helped me figure this out.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions