Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Preserve symlinks when running cargo add
When Cargo.toml is a symlink, cargo add was overwriting it with a regular file. This change follows the symlink and writes to the target file instead, preserving the symlink structure. Fixes rust-lang#15241
- Loading branch information