-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update rust resolving TARGET=HOST build issues #5446
Conversation
FYI you can use this now in |
With @jameshilliard ‘s help and There should be no issues with updating rust to future versions - but will need to keep a watch on rust-lang/cargo#9753 - at which time the target-applies-to-host option will need to be incorporated without the It has been tested building librespot and bottom on
|
Until target-applies-to-host is incorporated into stable this "target-applies-to-host" option is required for a matching host-target triple to be compiled by the cross compiler. Read more here: https://doc.rust-lang.org/cargo/reference/unstable.html#target-applies-to-host When rust-lang/cargo merges the following and it is released - then this "rust" package will need to be revisted if it is bumped. - Stabilize target-applies-to-host feature. #9753 The following are the rust-lang/cargo PRs that made this possible: - Configure hosts separately from targets when --target is specified. LibreELEC#9322 - Tracking Issue for target-applies-to-host LibreELEC#9453
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe it works :)
I found a cleaner way to do this in #6104. |
PR that fixes the rust TARGET=HOST build issues
this was tested with nightly-x86_64-unknown-linux-gnu installed - rustc 1.55.0-nightly (ce1d5611a 2021-06-18)
no planned to be pulled into master until 1.54 is released - 29th July 2021