We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo test --doc --no-run
Expectation: check only compilability of doctests. Reality: Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
The text was updated successfully, but these errors were encountered:
I don't believe there is a way to --no-run doctests. Running rustdoc --test --test-args no-run filters the doctests out.
--no-run
rustdoc --test --test-args no-run
This would first need to be implemented in rustdoc then cargo will need to implement doctest compilation before exiting when using --no-run.
Please correct me if I'm wrong.
Sorry, something went wrong.
Auto merge of #6628 - dwijnand:doc-no-run, r=Eh2406
f7ba714
Bail when trying to run "test --doc --no-run" Fixes #5242
dwijnand
Successfully merging a pull request may close this issue.
Expectation: check only compilability of doctests.
Reality:
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
The text was updated successfully, but these errors were encountered: