phil-opp/cargo-post

Support `CARGO_BUILD_TARGET` environment variable

開放

#24 建立於 2023年10月30日

 (1 則留言) (0 個反應) (0 位負責人)Rust (7 個分叉)github user discovery
buggood first issuehelp wanted

倉庫指標

星標
 (24 顆星)
PR 合併指標
 (30 天內沒有已合併 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.

貢獻者指南