Skip to content

[BUG] Can no longer compile with strip = true #1014

Description

@connyay

Is there an existing issue for this?

  • I have searched the existing issues

What version of workers-rs are you using?

0.8.5

What version of wrangler are you using?

4.101.0

Describe the bug

wasm-bindgen 0.2.125 hard requires externref table in wasm binaries and this table is removed with strip = true in cargo [profile.release]

It fails to compile with the following error:

error: failed to generate catch wrappers

Caused by:
    externref table required for catch wrappers
Error: Running the wasm-bindgen CLI

Steps To Reproduce

No response

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