Skip to main content

WebAssembly Micro Runtime — AOT compiler

Project description

WAMR: WebAssembly Micro Runtime

A fork of bytecodealliance/wasm-micro-runtime ported from C to Zig and maintained with AI assistance.

100% spec conformance — 20,901/20,901 tests passing.

Install

Pre-built binaries are published to GitHub Releases and PyPI. See installation details.

$ dist install cataggar/wamr
$ uv tool install wamr-bin

Tools

  • wamr: decode and run a WebAssembly binary file using a stack-based interpreter
  • wamrc: AOT compiler — compile a .wasm module to native code

Building

Requires Zig 0.15.x. No other dependencies.

$ git clone https://github.com/cataggar/wamr
$ cd wamr
$ zig build

For release builds:

$ zig build -Doptimize=ReleaseSafe

Cross-compilation works out of the box:

$ zig build -Dtarget=aarch64-linux -Doptimize=ReleaseSafe
$ zig build -Dtarget=aarch64-macos -Doptimize=ReleaseSafe
$ zig build -Dtarget=x86_64-windows -Doptimize=ReleaseSafe

Running tests

Unit tests:

$ zig build test

Spec tests:

$ zig build
$ ./zig-out/bin/spec-test-runner tests/spec-json

License

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

wamrc_bin-3.0.0.dev4-py3-none-win_arm64.whl (81.9 kB view details)

Uploaded Python 3Windows ARM64

wamrc_bin-3.0.0.dev4-py3-none-win_amd64.whl (87.0 kB view details)

Uploaded Python 3Windows x86-64

wamrc_bin-3.0.0.dev4-py3-none-musllinux_1_1_x86_64.whl (81.0 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

wamrc_bin-3.0.0.dev4-py3-none-musllinux_1_1_aarch64.whl (80.4 kB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

wamrc_bin-3.0.0.dev4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (81.0 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

wamrc_bin-3.0.0.dev4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (80.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

wamrc_bin-3.0.0.dev4-py3-none-macosx_11_0_arm64.whl (76.8 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

wamrc_bin-3.0.0.dev4-py3-none-macosx_10_9_x86_64.whl (80.3 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file wamrc_bin-3.0.0.dev4-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for wamrc_bin-3.0.0.dev4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 4807864bc8b5dab131bc14daaa0dc3443f9518051e26cba0c008123e4f026c2c
MD5 0590ddefaba206b47b96f5d5b380f773
BLAKE2b-256 f4f869b353425da52803c28bb1e0da0a612006575ac9127c440db34b0cc8d00c

See more details on using hashes here.

Provenance

The following attestation bundles were made for wamrc_bin-3.0.0.dev4-py3-none-win_arm64.whl:

Publisher: pypi-wamrc.yml on cataggar/wamr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wamrc_bin-3.0.0.dev4-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for wamrc_bin-3.0.0.dev4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6c087e66a5efccfce4d21e7e62595f5251e8f91bf8ca4aedac3cab0fe68e2eed
MD5 796683aa6db6307c23a40046c2b64ffd
BLAKE2b-256 da1437c5c20492594fd13c45c63a814316c0e378a78cdeabf3990460075ba803

See more details on using hashes here.

Provenance

The following attestation bundles were made for wamrc_bin-3.0.0.dev4-py3-none-win_amd64.whl:

Publisher: pypi-wamrc.yml on cataggar/wamr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wamrc_bin-3.0.0.dev4-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for wamrc_bin-3.0.0.dev4-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7bcaa5729b5abf8601c40d1fc652f4bba640617525d83e8c1b7d50302c9a6926
MD5 5116d279167935d5f49ba995940a3741
BLAKE2b-256 6bc8a8093d88afb4a9b4f05852aa11a4a592ae74c8cb6379d9057c6a74c5fd6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for wamrc_bin-3.0.0.dev4-py3-none-musllinux_1_1_x86_64.whl:

Publisher: pypi-wamrc.yml on cataggar/wamr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wamrc_bin-3.0.0.dev4-py3-none-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for wamrc_bin-3.0.0.dev4-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8ac4da76e9cf835f74f456c120ee33b9a4096fd2f36ee8f674ae2445e3eeaf2a
MD5 aedcfae61a01590eb1f220c9fe216d82
BLAKE2b-256 a9337e2b18851dad00fad54af41a9487c1a7f7e2835f56db443f854531ab6404

See more details on using hashes here.

Provenance

The following attestation bundles were made for wamrc_bin-3.0.0.dev4-py3-none-musllinux_1_1_aarch64.whl:

Publisher: pypi-wamrc.yml on cataggar/wamr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wamrc_bin-3.0.0.dev4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wamrc_bin-3.0.0.dev4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f3928aa64939148bcbe90801a57f9611a5fc164687f323db7b395cf3b08c2081
MD5 9e295e3ff9f4e991ffabf31bd31e3333
BLAKE2b-256 451190dee370195a6a627a4b6c907dcc9b77c0bcc96ec811c33dc454a86b1de7

See more details on using hashes here.

Provenance

The following attestation bundles were made for wamrc_bin-3.0.0.dev4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: pypi-wamrc.yml on cataggar/wamr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wamrc_bin-3.0.0.dev4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for wamrc_bin-3.0.0.dev4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b15690a428cb4eacca9d25815f772a40017b0b99a0c4ffa2d43a4ac93c7db569
MD5 00153fc2f92be13d6dc3c50c44de2663
BLAKE2b-256 144a23517f82932df099592fb6b28bdd377f1799b527644429caa697a06582ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for wamrc_bin-3.0.0.dev4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: pypi-wamrc.yml on cataggar/wamr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wamrc_bin-3.0.0.dev4-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wamrc_bin-3.0.0.dev4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bae9a46cbf64f4b0ad211e45d034866fa0bc63b772275d2fd2a9c1627ced2484
MD5 8449385740615c49ae5ade262c6f6324
BLAKE2b-256 90430a3bec4b4aa62a01018c5f05071592a5815c6d53eca5c17e8c8df323a7ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for wamrc_bin-3.0.0.dev4-py3-none-macosx_11_0_arm64.whl:

Publisher: pypi-wamrc.yml on cataggar/wamr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wamrc_bin-3.0.0.dev4-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for wamrc_bin-3.0.0.dev4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0cc2bbe4f941137fd72f66c84eedc609c14cc2c88c1ade9e90a1f7358058484f
MD5 16df3958f9e4bd022f27e2b1ef64e63a
BLAKE2b-256 70f43f32968d5647ae0d360463f0360abaed14a9adbadc8d698256f86c7eead1

See more details on using hashes here.

Provenance

The following attestation bundles were made for wamrc_bin-3.0.0.dev4-py3-none-macosx_10_9_x86_64.whl:

Publisher: pypi-wamrc.yml on cataggar/wamr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page