phil-opp/cargo-post

Support `CARGO_BUILD_TARGET` environment variable

Ouverte

#24 ouverte le 30 oct. 2023

 (1 commentaire) (0 réaction) (0 personne assignée)Rust (7 forks)github user discovery
buggood first issuehelp wanted

Métriques du dépôt

Stars
 (24 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur