mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Auto merge of #11146 - jiangying000:patch-1, r=weihanglo
update comment about `CARGO_BIN_EXE_`
This commit is contained in:
commit
abf6b4e447
@ -1008,7 +1008,7 @@ fn build_base_args(
|
||||
.env("RUSTC_BOOTSTRAP", "1");
|
||||
}
|
||||
|
||||
// Add `CARGO_BIN_` environment variables for building tests.
|
||||
// Add `CARGO_BIN_EXE_` environment variables for building tests.
|
||||
if unit.target.is_test() || unit.target.is_bench() {
|
||||
for bin_target in unit
|
||||
.pkg
|
||||
|
@ -4415,7 +4415,7 @@ fn panic_abort_test_profile_inherits() {
|
||||
|
||||
#[cargo_test]
|
||||
fn bin_env_for_test() {
|
||||
// Test for the `CARGO_BIN_` environment variables for tests.
|
||||
// Test for the `CARGO_BIN_EXE_` environment variables for tests.
|
||||
//
|
||||
// Note: The Unicode binary uses a `[[bin]]` definition because different
|
||||
// filesystems normalize utf-8 in different ways. For example, HFS uses
|
||||
|
Loading…
x
Reference in New Issue
Block a user