You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Force rustup to add rustc_driver.dll to the PATH (#281)
Fixes#267! For more context, see [this
comment](#267 (comment)):
> I found the issue! Due to
[rust-lang/rustup#3703](rust-lang/rustup#3703),
Rustup no longer modifies the `PATH` on Windows because it prevented
sub-invocations of `cargo` and `rustc` from going through their proxy.
There was a [call for
testing](https://internals.rust-lang.org/t/help-test-windows-behavior-between-rustup-and-cargo/20237)
related to this, but it was announced before the linter was ever
created. Because I don't use Windows frequently, I never caught the
issue.
>
> We can fix this by setting `RUSTUP_WINDOWS_PATH_ADD_BIN=1`:
>
> ```cmd
> > set RUSTUP_WINDOWS_PATH_ADD_BIN=1
> > rustup run nightly-2025-01-09 .\bevy_lint.exe
> ```
0 commit comments