$ cargo 3ds test --doc -Zdoctest-xcompile
No pre-build std found, using build-std
error: Can't skip running doc tests with --no-run
We can probably work around this in cargo-3ds somehow since this still seems to work: cargo test -vvv -Zdoctest-xcompile -Zbuild-std --target armv6k-nintendo-3ds --doc.
See also https://github.com/rust-lang/rust/issues/87022
--no-run
is not supported byrustdoc
/cargo
:We can probably work around this in
cargo-3ds
somehow since this still seems to work:cargo test -vvv -Zdoctest-xcompile -Zbuild-std --target armv6k-nintendo-3ds --doc
. See also https://github.com/rust-lang/rust/issues/87022Originally posted by @ian-h-chamberlain in https://github.com/rust3ds/ctru-rs/issues/106#issuecomment-1485803864