ejrgilbert / whamm

5 stars 2 forks source link

Instrument handwritten .wat files #60

Closed ahuoguo closed 1 week ago

ahuoguo commented 2 weeks ago

Added some integration testing for handwritten .wat files and wasm files generated from rust

part of the issue is handwritten .wat files will lose the function's name when we run wat2wasm on it. However, their name is preserved if it's emitted from cargo build --target wasm32-unknown-unknown

Also target_imp_name seems to be the wrong name.

Also fixes #27