-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
[Bug]: x86 build on windows fails if the crate uses proc-macro #599
Comments
I found that this is caused by environment variable named corrosion/cmake/Corrosion.cmake Line 815 in 999f93b
But I don't know if it's okay to unset this variable... |
Which rust version are you using? Does it only occur with Rust 1.83 or can you also reproduce with Rust 1.82? |
I used 1.83.0 to reproduce the issue. |
Could you also check if the issue is still present in the latest nightly or the beta toolchain? |
|
It was fixed on nightly! I'm closing the PR. |
Current Behavior
If the crate uses proc-macro, it becomes impossible to do cross-compile for x86-windows on windows.
Expected Behavior
It should success.
Steps To Reproduce
cmake -S . -B "build" -A Win32 && cmake --build build
Environment
CMake configure log with Debug log-level
CMake Build step log
__gi_build.log
The text was updated successfully, but these errors were encountered: