Problem
It looks like $HOME/.cargo/env is not created on Windows.
This breaks shell scripts that depend on it.
Steps
- Download and run rust-init.exe
- Check ~/.cargo/env existence
Possible Solution(s)
Just generate it like you do on Linux. It's useful for people using native bash on Windows.
Notes
No response
Rustup version
rustup 1.26.0 (5af9b9484 2023-04-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.75.0 (82e1608df 2023-12-21)`
Installed toolchains
Default host: x86_64-pc-windows-msvc
rustup home: C:\Users\WDAGUtilityAccount\.rustup
stable-x86_64-pc-windows-msvc (default)
rustc 1.75.0 (82e1608df 2023-12-21)
Problem
It looks like
$HOME/.cargo/envis not created on Windows.This breaks shell scripts that depend on it.
Steps
Possible Solution(s)
Just generate it like you do on Linux. It's useful for people using native bash on Windows.
Notes
No response
Rustup version
Installed toolchains