-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Description
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?
Downstream feature request from here
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`