phil-opp/cargo-post

Support `CARGO_BUILD_TARGET` environment variable

オープン

#24 opened on 2023/10/30

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (7 件のフォーク)github user discovery
buggood first issuehelp wanted

Repository metrics

Stars
 (24 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド