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
cargo test --doc --target x86_64-unknown-linux-gnu does not pass a --target flag to rustdoc if the host target is x86_64-unknown-linux-gnu. This is inconsistent with cargo doc/check/build. It caused trouble for bootstrap in rust-lang/rust#95993.
Steps
cargo new --lib example
cd example
cargo test --doc --target x86_64-unknown-linux-gnu -v
Observe that no --target argument is passed to rustdoc.
Problem
cargo test --doc --target x86_64-unknown-linux-gnu
does not pass a--target
flag to rustdoc if the host target is x86_64-unknown-linux-gnu. This is inconsistent withcargo doc/check/build
. It caused trouble for bootstrap in rust-lang/rust#95993.Steps
cargo new --lib example
cd example
cargo test --doc --target x86_64-unknown-linux-gnu -v
Observe that no
--target
argument is passed to rustdoc.Possible Solution(s)
Pass
--target
to rustdoc.Notes
No response
Version
The text was updated successfully, but these errors were encountered: