An open API service indexing awesome lists of open source software.

https://github.com/fschutt/sharedwasm

Example Wasm32-WASI library for testcase reproduction
https://github.com/fschutt/sharedwasm

Last synced: 2 months ago
JSON representation

Example Wasm32-WASI library for testcase reproduction

Awesome Lists containing this project

README

          

# sharedwasm

Example test-case to build a WASM32-WASI library:

```sh
# Build (install rustup target first)
cargo +nightly build -Zbuild-std --release --target wasm32-wasi
# Unpack .rlib into object file
ar -x ./target/wasm32-wasi/release/libsharedwasm.rlib
# Install wasm disassembly tools
sudo apt install wabt
wasm-objdump -d ./sharedwasm-58cd299b3f128130.sharedwasm.2a7776b6-cgu.0.rcgu.o
```