phil-opp/cargo-post

Support `CARGO_BUILD_TARGET` environment variable

Offen

#24 geöffnet am 30.10.2023

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (7 Forks)github user discovery
buggood first issuehelp wanted

Repository-Metriken

Stars
 (24 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide