Open regnaio opened 1 year ago
Repo with reproduction of issue: https://github.com/regnaio/havok-go
git clone git@github.com:regnaio/havok-go.git cd havok-go/ go run ./main.go
Notice that it runs successfully. However, comment out line 8
import ( "fmt" "log" "os" _ "github.com/bytecodealliance/wasmtime-go/v14" // <--- Comment out this line! "github.com/wasmerio/wasmer-go/wasmer" )
Then, run the program again:
go run ./main.go
Now, it gives the error:
2023/10/25 04:16:16 NewModule(): err:WebAssembly translation error: Unsupported feature: proposed simd operator F64x2PromoteLowF32x4 exit status 1
This is so bizarre!! Why does importing another library (wasmtime-go) resolve the issue??
wasmtime-go
Repo with reproduction of issue: https://github.com/regnaio/havok-go
Notice that it runs successfully. However, comment out line 8
Then, run the program again:
Now, it gives the error:
This is so bizarre!! Why does importing another library (
wasmtime-go
) resolve the issue??