Skip to main content

assert_native_host

Function assert_native_host 

Source
pub fn assert_native_host(adapter: &BoxTargetAdapter) -> Result<()>
Expand description

Ensures this host is the operating system and architecture the box ships for.

ยงErrors

When the current host is not the one the adapter requires.