asticode / go-astikit

Set of golang helpers that don't require any external dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build failure for WASM

TACIXAT opened this issue · comments

Building with GOARCH=wasm and GOOS=js I hit the following failure. Trying to put astisub into a WASM module.

λ go get -u github.com/asticode/go-astisub/...
# github.com/asticode/go-astikit
..\..\go\src\github.com\asticode\go-astikit\os.go:129:14: undefined: syscall.SIGABRT

You're right, SIGABRT signal doesn't exist for js,wasm build targets.

I've pushed a fix. You can use v0.8.0 tag.

Can you confirm this issue is fixed ?

Works great, cheers!