Skip to content

Commit

Permalink
Set RUSTUP_WINDOWS_PATH_ADD_BIN=1
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed May 10, 2024
1 parent 39c6cd9 commit 162fe72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dylint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,8 @@ fn check_or_fix(
),
(env::RUSTC_WORKSPACE_WRAPPER, &*driver.to_string_lossy()),
(env::RUSTUP_TOOLCHAIN, toolchain),
// smoelius:: See: https://github.com/rust-lang/rustup/pull/3703
(env::RUSTUP_WINDOWS_PATH_ADD_BIN, "1"),
])
.args(args);

Expand Down
1 change: 1 addition & 0 deletions internal/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ declare_const!(RUSTC_WORKSPACE_WRAPPER);
declare_const!(RUSTFLAGS);
declare_const!(RUSTUP_HOME);
declare_const!(RUSTUP_TOOLCHAIN);
declare_const!(RUSTUP_WINDOWS_PATH_ADD_BIN);
declare_const!(RUST_BACKTRACE);
declare_const!(TARGET);

Expand Down

0 comments on commit 162fe72

Please sign in to comment.