-
Notifications
You must be signed in to change notification settings - Fork 407
Can't test target i686-pc-windows-gnu
when -Zdoctest-xcompile
flag is present
#671
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
Comments
Please run if it reports an old version, update the rustup toolchain with
Note that cross on crates.io is very outdated now, preferably you should use current main, you'll need to specify the image used manually though. https://github.com/cross-rs/cross#custom-docker-images [target.i686-pc-windows-gnu]
image = "ghcr.io/cross-rs/i686-pc-windows-gnu:edge" to update cross: There is a note that the command is not run with cross, it's all passed through to cargo. Use Reading a bit further into the error message, you'll see that the issue is that the This is not strictly a cross issue. But maybe we can improve the UX here, I've had the same confusion when having an old toolchain installed for a certain target |
Thanks for your quick reply, but I'm a bit confused.
My cross version is I don't have
If it is so outdated shouldn't a new release be made? (early/often and all that) Regardless, this seems to have broken cross entirely (for ALL my targets - all the scripts for other targets I wrote yesterday that were working fine now report the same error):
It seems to have lost the
I don't understand. This certainly looks like a cross issue, and appears to me that the I appreciate any other help or guidance you can give. |
I see now I was using the supported targets off the |
we have a new release planned, #542, hope to have it out next month I think to clarify, cross doesn't use toolchains in the docker images, it installs the toolchain with rustup on the host, and the reason all targets fail with the current main branch is that the images it looks for are not published with that tag on ghcr. |
Good to know, would be great to have another release. Thx for your help. |
Removing the
-Zdoctest-xcompile
and it works fine, albeit without doctests. Also, interestingly thex86_64-pc-windows-gnu
target is not impacted, so it seems like something with this particular target. I should add this is under WSL2 in case that is relevant with a Ubuntu 20.04 OS.The text was updated successfully, but these errors were encountered: