wapc / wapc-go

Golang-based WebAssembly Host Runtime for waPC-compliant modules
Apache License 2.0
91 stars 25 forks source link

wazero: WithFeatureSignExtensionOps #22

Closed pkedy closed 2 years ago

pkedy commented 2 years ago

Add WithFeatureSignExtensionOps(true) to runtime config as some of the wasm modules compiled with AssemblyScript seem to require it.

@codefromthecrypt Thanks for keeping the wazero package up to date with all the great changes your team has been making! I'm adding this because I was getting the following error:

invalid function[41]: i32.extend8_s invalid as feature sign-extension-ops is disabled

I'm not sure why this is considered a feature that is disabled by default. Please let me know if there are trade off/considerations for the waPC use case.