Skip to content

Commit

Permalink
Auto merge of #11146 - jiangying000:patch-1, r=weihanglo
Browse files Browse the repository at this point in the history
update comment about `CARGO_BIN_EXE_`
  • Loading branch information
bors committed Sep 26, 2022
2 parents 13ae438 + 260620e commit abf6b4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cargo/core/compiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abf6b4e

Please sign in to comment.