//! `link_kernels!` declares an extern query symbol and yields it as a
//! [`iree_embedded::LibraryQueryFn`]. The test provides the symbol from
//! Rust (in firmware it comes from the model's compiled object file) and
//! calls through the returned pointer, proving both linkage and ABI.
//!
//! No `#![forbid(unsafe_code)]` here: providing the `#[unsafe(no_mangle)]`
//! test symbol needs the unsafe attribute. The forbid premise for this
//! macro is proven by the example firmware, which forbids unsafe and uses
//! it against a real model object.
use c_void;
extern "C"