Skip to content

Commit abf6b4e

Browse files
committed
Auto merge of #11146 - jiangying000:patch-1, r=weihanglo
update comment about `CARGO_BIN_EXE_`
2 parents 13ae438 + 260620e commit abf6b4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/core/compiler/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ fn build_base_args(
10081008
.env("RUSTC_BOOTSTRAP", "1");
10091009
}
10101010

1011-
// Add `CARGO_BIN_` environment variables for building tests.
1011+
// Add `CARGO_BIN_EXE_` environment variables for building tests.
10121012
if unit.target.is_test() || unit.target.is_bench() {
10131013
for bin_target in unit
10141014
.pkg

tests/testsuite/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4415,7 +4415,7 @@ fn panic_abort_test_profile_inherits() {
44154415

44164416
#[cargo_test]
44174417
fn bin_env_for_test() {
4418-
// Test for the `CARGO_BIN_` environment variables for tests.
4418+
// Test for the `CARGO_BIN_EXE_` environment variables for tests.
44194419
//
44204420
// Note: The Unicode binary uses a `[[bin]]` definition because different
44214421
// filesystems normalize utf-8 in different ways. For example, HFS uses

0 commit comments

Comments
 (0)