mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-15 17:50:51 +00:00
* autodiscover an exported `main` if possible this allows for first-class support of binary crates * wrap `main` to zero out arguments and suppress return value * add test for bin crate support * process only the export of the generated main wrapper * skip most of `export` since only one line of that is needed