CARGO environment variable ignored
dmitrii-ubskii opened this issue · 1 comments
dmitrii-ubskii commented
cargo_command()
is hardcoded to be just cargo
[1], which will fail if it is not in PATH
. This becomes a problem for CI and hermetic builds. cargo-options should respect the environment variables specified by Cargo [2].
[1] https://github.com/messense/cargo-options/blob/main/src/common.rs#L167
[2] https://doc.rust-lang.org/cargo/reference/environment-variables.html