Skip to content

How to compile this to WASM? #152

@barracuda156

Description

@barracuda156

I did not find a general build target, but trying with a single file fails:

@43-8 filetype %  GOOS=wasip1 GOARCH=wasm go build -ldflags="-s -w" -o match.wasm match.go
# command-line-arguments
./match.go:24:25: undefined: ErrEmptyBuffer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions