Skip to main content

miniextendr_write_wasm_registry

Function miniextendr_write_wasm_registry 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn miniextendr_write_wasm_registry( path_sexp: SEXP, ) -> SEXP
Expand description

C-callable entry point for wasm_registry.rs generation via cdylib.

Pairs with miniextendr_write_wrappers: same cdylib, separate .Call, independent output path. Host-only; the generated file itself is then consumed at compile time by the user crate’s wasm32 build via install_wasm_runtime_slices.

§Safety

path_sexp must be a valid STRSXP of length >= 1.