rustdoc --test ignores --target #44404
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
rustdoc
's--target
option works when building documentation, but it seems to be ignored when running tests. At the very least, using both options together should result in an error. Ideally,rustdoc
would invoke a cross compiler in this case. It can be useful, for example, to execute doc tests in 32-bit mode on a 64-bit host.To reproduce: Running
rustdoc --target=itanium-multics-gnu --test <more valid options>
should result in an error, but instead the doc tests run fine.The text was updated successfully, but these errors were encountered: