phil-opp/cargo-post

Support `CARGO_BUILD_TARGET` environment variable

Aberta

#24 aberto em 30 de out. de 2023

 (1 comentário) (0 reação) (0 responsável)Rust (7 forks)github user discovery
buggood first issuehelp wanted

Métricas do repositório

Stars
 (24 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador