define_uhyve_interface_version

Macro define_uhyve_interface_version 

Source
macro_rules! define_uhyve_interface_version {
    ($version:expr) => { ... };
}
Expand description

Defines the Uhyve interface version in the note section.

This macro must be used in a module that is guaranteed to be linked. See https://github.com/rust-lang/rust/issues/99721.

ยงExamples

hermit_entry::define_uhyve_interface_version!(uhyve_interface::UHYVE_INTERFACE_VERSION);