rust-lang / cargo

The Rust package manager
https://doc.rust-lang.org/cargo
Apache License 2.0
12.58k stars 2.39k forks source link

Tracking Issue for target-applies-to-host #9453

Open jameshilliard opened 3 years ago

jameshilliard commented 3 years ago

Summary

Original issue: #3349 Implementation: #9322 Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#target-applies-to-host Issues: https://github.com/rust-lang/cargo/labels/Z-target-applies-to-host

The target-applies-to-host key in a config file can be used set the desired behavior for passing target config flags to build scripts.

Unresolved Issues

rich-g commented 2 years ago

Any chance of stabilizing this?

rich-g commented 1 year ago

Just bumping this again. Would really like this stabilized so I can get off of nightly builds. :)

jameshilliard commented 1 year ago

Just bumping this again. Would really like this stabilized so I can get off of nightly builds. :)

Not sure what status of stabilizing this is, but if you want to use it on stable just set this in your env.