Skip to content

thread 'main' panicked at 'unknown name section chunk type: 7' #251

@Badel2

Description

@Badel2

After running cargo web, executing the wasm file results in this panic:

thread 'main' panicked at 'unknown name section chunk type: 7', src/wasm_context.rs:642:41

I fixed this in this commit: Badel2@46b3637

By replacing the panic with an error. Not sure if this has any consequences, but it seems to work.

If you encounter this problem you can use my fork:

cargo install --git https://github.com/Badel2/cargo-web cargo-web

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