phil-opp/cargo-post

Support `CARGO_BUILD_TARGET` environment variable

Aperta

#24 aperta il 30 ott 2023

 (1 commento) (0 reazioni) (0 assegnatari)Rust (7 fork)github user discovery
buggood first issuehelp wanted

Metriche repository

Star
 (24 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor