-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
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
rustdoc --test ignores --target #44404
Comments
I have an inquiry regarding running documentation tests when using a target different than the default one. |
Closing in favor of the tracking issues #64245 and rust-lang/cargo#7040. |
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: