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
I updated to cargo 1.78.0 (54d8815 2024-03-26) today and attempted a cargo clean in an older project. I was greeted with this warning:
warning: `/ws/facade/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
Despite the fact that there's really no reason beyond potentially aesthetics not to just continue to read .cargo/config if it's there, I would like the warning to go away, so I did what it told me to do:
$ ls -l .cargo/
total 2
lrwxrwxrwx 1 jclulow staff 11 May 13 16:03 config -> config.toml
-rw-r--r-- 1 jclulow staff 41 Dec 6 2022 config.toml
Now I get a new warning, which seems, at best, unsporting:
warning: both `/ws/facade/.cargo/config` and `/ws/facade/.cargo/config.toml` exist. Using `/ws/facade/.cargo/config`
Possible Solution(s)
I suspect that perhaps the second warning could at least not misfire in the case that one has done as directed by cargo with respect to symlinks.
Thanks for the report. This should already be resolved by #13793, which only warns when each file handle points to a different file. The fix is scheduled on 1.79.0. You could try with the current beta toolchain.
Problem
I updated to cargo 1.78.0 (54d8815 2024-03-26) today and attempted a cargo clean in an older project. I was greeted with this warning:
Despite the fact that there's really no reason beyond potentially aesthetics not to just continue to read
.cargo/config
if it's there, I would like the warning to go away, so I did what it told me to do:Now I get a new warning, which seems, at best, unsporting:
Possible Solution(s)
I suspect that perhaps the second warning could at least not misfire in the case that one has done as directed by
cargo
with respect to symlinks.Version
The text was updated successfully, but these errors were encountered: