Skip to content

make build fails #1

Description

@borisreitman

I have followed instructions in the README and ran make build. I get this error:

make build
GOOS=js GOARCH=wasm tinygo build -target wasm -no-debug -o main.wasm
tinygo:wasm-ld: error: /var/folders/k8/31zw696n0b713wst4f3y3nnc0000gp/T/tinygo1882738107/main.o: undefined symbol: main.add
failed to run tool: wasm-ld
error: failed to link /var/folders/k8/31zw696n0b713wst4f3y3nnc0000gp/T/tinygo1882738107/main: exit status 1
make: *** [build] Error 1

I have go v1.19.2 and tinygo 0.27.0

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