Allow setting cfgs

This commit is contained in:
Lukas Wirth 2023-05-26 22:12:22 +02:00
parent ee8c18cb6e
commit cea84427e0
8 changed files with 73 additions and 89 deletions

View file

@ -86,7 +86,7 @@ impl CfgOptions {
}
}
#[derive(Clone, Debug, PartialEq, Eq)]
#[derive(Default, Clone, Debug, PartialEq, Eq)]
pub struct CfgDiff {
// Invariants: No duplicates, no atom that's both in `enable` and `disable`.
enable: Vec<CfgAtom>,