We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 724273e commit 782b32bCopy full SHA for 782b32b
src/cargo/util/config/mod.rs
@@ -748,9 +748,10 @@ impl Config {
748
if let Some(unstable_flags) = self.get::<Option<CliUnstable>>("unstable")? {
749
self.unstable_flags = unstable_flags;
750
}
751
- // NB. It sucks to parse these twice, but doing it again here
+ // NB. It's not ideal to parse these twice, but doing it again here
752
// allows the CLI to override config files for both enabling
753
- // and disabling.
+ // and disabling, and doing it up top allows CLI Zflags to
754
+ // control config parsing behavior.
755
self.unstable_flags.parse(unstable_flags)?;
756
757
0 commit comments