- WebAssemblyPkg
This package is a wrapper for wasm-micro-runtime to run wasm binary in UEFI environment. It is similar to CryptoPkg which is a wrapper for openssl.
Build a standard C file to a wasm file with wasm SDK.
This repo uses below submodules:
WebAssemblyPkg/Library/WebAssemblyInterpreterLib/wasm-micro-runtime
NOTE: Current version only support GCC5 X64 build.
Build WebAssemblyPkg and generate WasmApp.efi. Run WasmApp.efi <Demo.wasm> in the UEFI shell.
NOTE: Current project is just a demo to support printf(). More system APIs can be added later.
This package is only the sample code to show the concept. It does not have a full validation and does not meet the production quality yet. Any codes including the API definition, the libary and the drivers are subject to change.