-
-
Notifications
You must be signed in to change notification settings - Fork 399
Closed
Labels
acknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixed
Description
The home crate is no longer intended for general use, but instead only for use by cargo and rustup. It is recommended to switch to std::env::home_dir instead.
Note that there are a few things to consider here:
home_dir's behavior was changed on Windows to use USERPROFILE (similar to howhomeworked) in 1.85 via Fix and undeprecate home_dir() rust-lang/rust#132515.home_dir's deprecation was removed in 1.87 via Undeprecate env::home_dir rust-lang/rust#137327.home_diruses a fallback on an empty HOME as of 1.90 via IfHOMEis empty, use the fallback instead rust-lang/rust#141840.
Metadata
Metadata
Assignees
Labels
acknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixed