Skip to content

bug: WASM exports stripped due to missing rdynamic flag #8

Description

@xentropic-dev

The example code doesn't function correctly in version 0.15.2 of zig. The following error shows up in the dev console:

Uncaught (in promise) TypeError: set_title is not a function
    at app.ts:24:3

This was caused by a breaking change in Zig in which the default behavior was to implicitly export symbols, which is no longer the case. It looks like it has perhaps been broken since this PR: ziglang/zig#14102

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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