Skip to main content

enabled_features

Function enabled_features 

Source
pub fn enabled_features() -> String
Expand description

Returns a comma-delimited string of enabled compile-time feature flags.

Useful for runtime verification of which safety level and capabilities were compiled in.

let features = rav1d_safe::enabled_features();
assert!(features.contains("bitdepth_8"));