add example crates

This commit is contained in:
2024-09-29 18:23:50 +02:00
parent da63980914
commit f116e435ec
15 changed files with 782 additions and 3 deletions

4
example-binary/build.rs Normal file
View File

@ -0,0 +1,4 @@
fn main() {
println!("cargo:rustc-link-arg=-sEXPORTED_RUNTIME_METHODS=['cwrap','ccall']");
println!("cargo:rustc-link-arg=-sEXPORT_ES6=1");
}