···11+// Re-export everything from mlf-wasm
22+pub use mlf_wasm::*;
33+44+// Import the plugin crates and reference their static generators
55+// This forces the linker to include them in the binary
66+use mlf_codegen_typescript::TYPESCRIPT_GENERATOR;
77+use mlf_codegen_go::GO_GENERATOR;
88+use mlf_codegen_rust::RUST_GENERATOR;
99+1010+// Force the linker to keep the generator statics by referencing them
1111+// This function must never be optimized away
1212+#[used]
1313+static _KEEP_GENERATORS: &[&dyn mlf_codegen::plugin::CodeGenerator] = &[
1414+ &TYPESCRIPT_GENERATOR,
1515+ &GO_GENERATOR,
1616+ &RUST_GENERATOR,
1717+];