Skip to main content

compatible

Function compatible 

Source
pub const fn compatible(declared: Version, running: Version) -> bool
Expand description

Check whether the running Xila version can run an application built for declared.

Before 1.0, both versions must have major version zero and the same minor version. From 1.0, the major versions must be equal and the running minor version must be at least the declared one.

This mirrors xila_package_manifest::compatible in package_manager, which Core cannot depend on. Keep both, and their boundary tests, identical.