Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebAssembly translation error: Unsupported feature: proposed simd operator F64x2PromoteLowF32x4 #402

Open
regnaio opened this issue Oct 25, 2023 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@regnaio
Copy link

regnaio commented Oct 25, 2023

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??

@regnaio regnaio added the 🐞 bug Something isn't working label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant