You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can see there is no reliable way for a buildscript to determine the value of target-cpu and target-features. Could we add and env-flag for Cargo to provide the values that will be used when the final crate is compiled for the target platform?
Target features should be exposed in the CARGO_CFG_TARGET_FEATURE environment variable. The request to expose the target-cpu is tracked in rust-lang/rust#44036.
As far as I can see there is no reliable way for a buildscript to determine the value of
target-cpu
andtarget-features
. Could we add and env-flag for Cargo to provide the values that will be used when the final crate is compiled for the target platform?Downstream feature request from here
The text was updated successfully, but these errors were encountered: