pub unsafe extern "C" fn krun_has_feature(feature: u64) -> i32Expand description
Checks if a specific feature was enabled at build time.
Arguments: “feature” - one of the KRUN_FEATURE_* constants.
Returns: 1 if the feature is supported, 0 if not supported, or a negative error number on failure (e.g., -EINVAL for invalid/unknown feature constant).
Notes: When linking against an older version of libkrun, this function may return -EINVAL for feature constants that were added in newer versions.