Skip to content

How to generate a wasm library for reuse #5

@hsauro

Description

@hsauro

I can't figure out how to generate a reusable wasm library. If I use the library or template unit I get errors from Zig. I use the program template I get an executable which can't be resused. I suspect its because the call to zig is

compile lib simpleLib_wasm Debug wasm32-wasi 2 errors

when for libraries it should be something like

compile lib simpleLib_wasm Debug wasm32-freestanding 2 errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions