cargo-post
cargo-post copied to clipboard
Support `CARGO_BUILD_TARGET` environment variable
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.
Thanks for reporting! I'm happy to merge a PR for this.