Advice on symlinking config to config.toml leads to a different warning #13803
Labels
A-configuration
Area: cargo config files and env vars
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
C-bug
Category: bug
Problem
If you have a ~/.cargo/config file, running Cargo commands gives this:
But if you follow this advice, you get a warning:
Well, actually everything produces these warnings and infos twice, so it’s even a little worse.
A suggested course of action shouldn’t lead to a different warning. Currently, I can’t escape having a warning if I want to support cargo 1.38 or earlier.
Steps
No response
Possible Solution(s)
Suppress the new warning if
config
andconfig.toml
have the same contents. (This is more general than just checking if one symlinks the other.)Notes
No response
Version
The text was updated successfully, but these errors were encountered: