Skip to content

--to-js QEMU throws an assertion error with custom image #400

Closed

Description

@sr229

Related issue: ktock/qemu-wasm#16

Image

Activity

  1. dylanpdx commented on Mar 20, 2025

    @dylanpdx

    I was able to solve this by doing the following:

    • c2w --show-dockerfile > Dockerfile
    • Replace all -sMALLOC= instances in the Dockerfile with -sMALLOC=emmalloc
    • c2w --dockerfile Dockerfile --to-js container out/
  2. ktock commented on Mar 20, 2025

    @ktock
    Collaborator

    Thanks for the investigation. I think we should switch the default allocator to -sMALLOC=emmalloc in our Dockerfile.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions