pub fn check_environment() -> Result<Vec<Feature>>Expand description
Check that the code wasn’t built with features not detected at runtime.
This is a bigger problem than merely a runtime error would imply. If built
for features that are not here, that can only mean UB, before main() even
runs. So maybe this checking function doesn’t actually add any value.
It does return the state of the features, though.
§Errors
If there are enabled processor features that are not supported. Though again, this is UB.