wasilibs / nottinygc

Higher-performance allocator for TinyGo WASI apps
MIT License
64 stars 6 forks source link

invalid flag: --export=malloc #20

Closed rinfx closed 1 year ago

rinfx commented 1 year ago

Hi, when I use v0.4.0, I meet this error

github.com/wasilibs/nottinygc@v0.4.0/init.go:9:14: invalid flag: --export=malloc

How can I fix it?

anuraaga commented 1 year ago

Hi @rinfx - are you using TinyGo 0.28.x? v0.4.0 requires it as the minimum version and I believe using an older version would cause that error message.

rinfx commented 1 year ago

Thanks! Switch to TinyGo 0.28.x can fix this problem