Skip to content

Add Pyodide WebAssembly wheel support - #283

Open
zardus wants to merge 1 commit into
masterfrom
wasm-host-support
Open

Add Pyodide WebAssembly wheel support#283
zardus wants to merge 1 commit into
masterfrom
wasm-host-support

Conversation

@zardus

@zardus zardus commented Jul 21, 2026

Copy link
Copy Markdown
Member

Build pypcode as a Pyodide-compatible WebAssembly wheel while preserving native and macOS cross-build paths.

The target build produces the nanobind extension with Emscripten, while a separate host CMake build produces the SLEIGH compiler needed to generate processor specifications. The existing build workflow now builds and exercises the Pyodide wheel.

Tandem PRs:

Validation:

  • 46 tests and 187 subtests pass natively
  • all pre-commit hooks pass
  • the Pyodide wheel imports and translates x86-64 instructions
  • the full angr fauxware browser smoke test passes with the P-code engine

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.82%. Comparing base (559aacd) to head (3e6f4ad).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #283   +/-   ##
=======================================
  Coverage   86.82%   86.82%           
=======================================
  Files           5        5           
  Lines         516      516           
  Branches       82       82           
=======================================
  Hits          448      448           
  Misses         26       26           
  Partials       42       42           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant