-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fix cross-compilation #196
Conversation
2433b77
to
695811a
Compare
Fixed the issues brought up in CI and added a comment to the implementation. |
I haven't created any cross compile tests yet. It'll probably be annoying to do, so don't worry about it |
Hmm... I think I'll need to add tests first. I worry this will interact badly with proc macro aux builds (which need to happen for the host) |
b53d94d
to
ba9f2a6
Compare
jup it did interact badly 😆 fixed it now, but still can't get CI to actually work with cross compilation |
59ee6c4
to
4ea2280
Compare
Oh 🤷 I'm just not gonna test it in CI for now |
Cool, thank you! |
When trying to cross-compile to
wasm32-unknown-unknown
(for compilation fail tests only) I realized that the builder command was not actually taking the target into account: it was still building for the host target.Simply put, the builder command was just not taking
Config::target
into account.Dependencies were already compiled to the correct target, but unfortunately I'm not familiar at all with
ui_test
so there might be something else broken that I didn't try/encounter yet.Happy to add a test if pointed into the appropriate direction.