-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compat: Fix SoftRequirement consistency
Complete CompatState with the Init state to fully rely on CompatState instead of ABI or is_mooted(), and rename Final to Dummy. This enables to not change a ruleset ABI once set. Always update CompatState for any BitFlags<Access>::try_compat() call. Make can_emulate() handles ABIs not supporting a minimal supported version, which is required for the new abi_v2_refer_only() test. Signed-off-by: Mickaël Salaün <mic@digikod.net>
- Loading branch information
Showing
5 changed files
with
167 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.