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.

贡献者指南