-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust: replace
std::fs::canonicalize
with dunce::canonicalize
Rust-analyzer turned out to be quite picky about paths, where `//?/`-prefixed paths can lead to flaky failures. See rust-lang/rust-analyzer#18894 for details. This makes paths always be canonicalized with `dunce`. Previously, `dunce` was used as a fallback, but that stopped working somewhere after version 0.0.248 of rust-analyzer.
- Loading branch information
Paolo Tranquilli
committed
Jan 9, 2025
1 parent
cd95cc8
commit 4f79199
Showing
2 changed files
with
9 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters