Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$HOME/.cargo/env missing on Windows #3639

Open
mwisnicki opened this issue Jan 16, 2024 · 1 comment
Open

$HOME/.cargo/env missing on Windows #3639

mwisnicki opened this issue Jan 16, 2024 · 1 comment
Labels

Comments

@mwisnicki
Copy link

Problem

It looks like $HOME/.cargo/env is not created on Windows.
This breaks shell scripts that depend on it.

Steps

  1. Download and run rust-init.exe
  2. 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)
@mwisnicki mwisnicki added the bug label Jan 16, 2024
@rami3l
Copy link
Member

rami3l commented Jan 16, 2024

@rbtcollins do you think that'll be useful? I personally don't use Windows for development so I guess I can't decide by myself this time, sorry...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants