Skip to content

Remove env_home dependency#118

Merged
Xaeroxe merged 1 commit intoharryfei:masterfrom
madsmtm:std_env_home
Mar 7, 2026
Merged

Remove env_home dependency#118
Xaeroxe merged 1 commit intoharryfei:masterfrom
madsmtm:std_env_home

Conversation

@madsmtm
Copy link
Contributor

@madsmtm madsmtm commented Mar 6, 2026

This is unnecessary, std::env::home_dir() was fixed in Rust 1.85.

Our MSRV is still 1.70, but I'd argue this is fine, as it really is a bug in Rust. That's similar to if e.g. std::sync::OnceLock was broken in Rust 1.80; you wouldn't argue that this crate should include a fixed version of OnceLock, you'd update your Rust version.

See #104 and rust-lang/libs-team#372 (comment) for background.

@Xaeroxe
Copy link
Collaborator

Xaeroxe commented Mar 6, 2026

Hey, please rebase this on the latest master branch so that this can be tested against Rust 1.70. Thank you for your PR!

This is unnecessary, `std::env::home_dir()` was fixed in Rust 1.85.
@madsmtm
Copy link
Contributor Author

madsmtm commented Mar 7, 2026

Done

@Xaeroxe Xaeroxe merged commit b0d6e74 into harryfei:master Mar 7, 2026
17 checks passed
@madsmtm madsmtm deleted the std_env_home branch March 7, 2026 09:22
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

Successfully merging this pull request may close these issues.

2 participants