-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustc 1.43.1 panic "inconsistent resolution for an import" specific to x86_64-pc-windows-gnu #72040
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
Looks like a duplicate of #56935. |
@petrochenkov Interesting. So it is considered cross-compiling when I'm on the Windows 10 VM doing Do you think that would be an approachable issue to try and hack on for me (not much knowledge of the compiler internals)? |
That's purely due to host != target, IIRC.
I don't know ¯_(ツ)_/¯ |
@nguiard |
This is the definition of cross-compilation 😄 |
Yeah but in common terms, you're not doing cross-compilation when you're compiling on a Windows host for that very Windows host (whatever the toolchain at use, |
@petrochenkov is this safe to close as a duplicate? |
Closing as a duplicate of #56935. |
Minimal reproduction
Create a new project, add
clap-v3 = "3.0.0-beta.1"
in Cargo.toml. Compiles fine on linux, mac, windows with msvc toolchain, but panics on x86_64-pc-windows-gnu.Tried with
cross build --target x86_64-pc-windows-gnu
on a linux server, but alsocargo build --target x86_64-pc-windows-gnu
on a Windows 10 VM. Both fail. Also fail if you do a--release
build.Interestingly, if you put
clap = "3.0.0-beta.1"
instead ofclap-v3 = "3.0.0-beta.1"
in Cargo.toml, everything builds fine. (Problem for me is, some dependency I use in a bigger project has itself a dependency onclap-v3
instead ofclap
)Full output with backtrace
The text was updated successfully, but these errors were encountered: