Auto merge of #11146 - jiangying000:patch-1, r=weihanglo

update comment about `CARGO_BIN_EXE_`
This commit is contained in:
bors 2022-09-26 07:51:23 +00:00
commit abf6b4e447
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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