You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I accidentally removed execution of doc tests on CI when I added the
`--all-targets` switch to `cargo test` in order to run benchmarks as
tests. It turns out that `cargo test --all-targets` doesn't run doc
tests (see rust-lang/cargo#6669 ).
The solution for running both doc tests and benchmarks as tests seems to
be to leave out the `--all-target` switch and instead mark benchmarks
with `test=true` in `Cargo.toml` (see
rust-lang/cargo#6669 (comment) ).
0 commit comments