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
So if I'm understanding, you are wanting cargo install to use the config file from the --git repo, right?
Config is environmental and not tied to the project (#2930, see #12738 for finding ways the right abstraction for representing config in the project). According to these rules, cargo install should use the config of your current-dir independent of where the source is. You can see this if you do cargo check --manifest-path <some-dir> that the config from <some-dir> won't be used, instead requiring something like #10098. For various reasons, cargo install varies from this pattern and only the user-wide configuration is used and not the config for the current-dir.
Problem
my project is a cargo workspace, and i put .cargo/config.toml in workspace root, but seems cargo does not load it:
I read cargo docs, it says should find it first
Steps
.cargo/config.toml
in workspace rootcargo install package
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: