cargo-post icon indicating copy to clipboard operation
cargo-post copied to clipboard

Support `CARGO_BUILD_TARGET` environment variable

Open Shados opened this issue 2 years ago • 1 comments

Currently, it appears that cargo-post ignores the $CARGO_BUILD_TARGET environment variable, resulting in it passing incorrect CRATE_TARGET/CRATE_TARGET_TRIPLE/CRATE_OUT_DIR variables to the post-build script.

Pseudo-related to #2, given that the environment variable is another way of specifying the build.target configuration key.

Shados avatar Oct 30 '23 03:10 Shados

Thanks for reporting! I'm happy to merge a PR for this.

phil-opp avatar Dec 28 '23 15:12 phil-opp