-
Notifications
You must be signed in to change notification settings - Fork 70
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
Cross compilation broken since #146 #151
Comments
Hello, Same problem with the setup:
I also found that the line you mentioned I've managed to fix it with 2 steps:
- CARGO_TARGET_${@rust_target(d, 'BUILD').replace('-','_')}_LINKER
+ CARGO_TARGET_${@rust_target(d, 'TARGET').replace('-','_').upper()}_LINKER I've also looked at the implementation in buildroot in order to see if it was correct. Everything else seems alright and I was able to build. Tell me if this is working for you too. |
@Benji-NW I came to your same conclusion and it fixed in the same way. |
Closing since this was fixed in #152. |
Since #146 our build is broken.
Reverting to 7ac87ec the build works again.
Our setup
Running on: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#rust-tools
It looks like the linker configuration is not properly set.
In the changes you switched to the "environment variable configuration" approach instead of the config file approach.
Likely
CARGO_TARGET_${@rust_target(d, 'BUILD').replace('-','_')}_LINKER
gets somehow wrongly set.Could this be the issue pherhaps?
The text was updated successfully, but these errors were encountered: