Crates.io | wasabi-generator |
lib.rs | wasabi-generator |
version | 0.0.1 |
source | src |
created_at | 2019-02-14 23:55:33.00816 |
updated_at | 2019-02-14 23:55:33.00816 |
description | A crate that generates bindings and wrappers for wasabi-generated wasm files |
homepage | https://github.com/appcypher/wasabi |
repository | https://github.com/appcypher/wasabi |
max_upload_size | |
id | 114855 |
size | 3,111 |
These are all ideas on how the final system could look like. Everything is still very much a work in progress.
wacc
and wa++
commands are supposed to serve as a drop-in replacement for clang
and clang++
respectively. They contain code needed for handling wasabi
-specific arguments as well as passing proper flags to clang
for wasm compilation.
One of wasabi
-specific arguments is the --gen
flag. It generates the necessary bindgen for a wasabi-generated
wasm file and
wacc test.c -o test.wasm --gen=web
wa++ test.cpp -o test.wasm --gen=wasmer
wacc test.c -o test.wasm --gen=node