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_dir incorrectly considers HOME environment variable on Windows #43321

Closed
brson opened this issue Jul 18, 2017 · 2 comments
Closed

home_dir incorrectly considers HOME environment variable on Windows #43321

brson opened this issue Jul 18, 2017 · 2 comments

Comments

@brson
Copy link
Contributor

brson commented Jul 18, 2017

The definition of home_dir provided by the standard library is incorrect because it considers the HOME environment variable on Windows. This causes surprising situations where a Rust program will behave differently depending on whether it is run under a Unix emulation environment like Cygwin or MinGW. Neither Cargo nor rustup use the standard libraries definition - they use the definition here.

I don't see an existing issue for this.

@durka
Copy link
Contributor

durka commented Jul 18, 2017

#28940 #40320

@Mark-Simulacrum
Copy link
Member

Closing in favor of #28940.

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

No branches or pull requests

3 participants