-
Notifications
You must be signed in to change notification settings - Fork 561
Add work around for bug in cross compilation #621
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
Conversation
So, I looked at this some more this morning, and something very strange is going on:
|
@jyn514 The libc error is strange. Does a "hello, world" app compile file? |
Hello world works but installing What OS are you using to compile? It seems weird that this works on Debian 10 but ICEs on NixOS. |
I'm compiling on Windows 10 and WSL with an Ubuntu environment. I'm assuming you get this when you cargodoc is running and not while building. Can you try breaking up the build and run step into two? |
No, I get this error while building, not documenting.
|
Hopefully the actual bug will get fixed but this does unblock x86 builds in my experience as well. |
And just to be clear, this workaround is for the |
This should fix #614. I can now successfully document windows-rs on Linux against the
x86_64-pc-windows-msvc
target.