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
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:
The
homecrate is no longer intended for general use, but instead only for use by cargo and rustup. It is recommended to switch tostd::env::home_dirinstead.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.