Assert that all defined features are in the known features set 2022-09-no-global-features
authorMatt Corallo <git@bluematt.me>
Fri, 9 Sep 2022 04:38:14 +0000 (04:38 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 14 Sep 2022 20:10:17 +0000 (20:10 +0000)
commit9170804ca467cf624b87737752aedb0866d7fc49
tree087bb369856b1e7c93f5d9674cea2683b7c4cc76
parentb83e93c799b26fe1cb37e6a43a693e6ed66cdb59
Assert that all defined features are in the known features set

Now that the features contexts track the full set of all known
features, rather than the set of supported features, all defined
features should be listed in the context definition macro.

This adds a compile-time assertion to check that all bits for known
features are set in the context known set.
lightning/src/ln/features.rs