Skip to main content

export_native_c_abi

Macro export_native_c_abi 

Source
macro_rules! export_native_c_abi {
    () => { ... };
}
Available on crate feature registry only.
Expand description

Exports the stable mobench native JSON C ABI symbols from a benchmark crate.

Add this once in the root of a benchmark cdylib/staticlib crate that uses the mobench registry:

mobench_sdk::export_native_c_abi!();