Skip to content

Missing symbols for wasm-wasip1 targets #60

@hiroki-chen

Description

@hiroki-chen

Similar to zstd's compilation option, the wasm-shim module is imported when we build towards a wasm target, which results in several symbols being imported: e.g., env::rust_lz4_wasm_shim_malloc. These will cause the whole wasm binary to be ill-formed because we have no such shim available and actually not needed for our wasip1 target.

It'd be better if we could provide a way for users to disable building this shim to avoid future linkage errors.

See this

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