fix: cross compiling on linux for windows#4263
Conversation
compile wailsbindings for the build machine
WalkthroughThe changes remove the Changes
Assessment against linked issues
Possibly related PRs
Poem
Tip ⚡️ Free AI Code Reviews for VS Code, Cursor, Windsurf
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Thanks for opening this. This code was originally introduced here to fix CGO cross compilation. It looks like this might break that? |
|
Thanks so much for testing |




Description
Fixes #4262
wailsbindings is executed on the build machine to generate bindings. We compile it for the build machine not the target.
Type of change
How Has This Been Tested?
This application builds and runs successfully.
For applications that use CGO:
This application also builds and runs successfully.
Test Configuration
Checklist:
website/src/pages/changelog.mdxwith details of this PRSummary by CodeRabbit
Bug Fixes
Documentation