wasm3 / wasm3-rs

Rust wrapper for Wasm3, the fastest WebAssembly interpreter
MIT License
160 stars 44 forks source link

Upgrading to master from b1d3b4 (Feb 25) introduces error in make_func_wrapper! #7

Closed tcr closed 4 years ago

tcr commented 4 years ago

I had this code in my repository, but since updating to master I am starting to get this error generated during compile time:

error[E0425]: cannot find value `SIZE_IN_SLOT_COUNT` in the crate root
   --> src/eval.rs:194:1
    |
194 | wasm3::make_func_wrapper!(wasm_extmem_store_8_wrap: wasm_extmem_store_8(address: u64, value: u64));
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in the crate root

Thanks!

Veykril commented 4 years ago

Looks like I had a typo in the macro 😅. 8360f2d should fix it, let me know if it does or not.