dtolnay / watt

Runtime for executing procedural macros as WebAssembly
Apache License 2.0
1.29k stars 28 forks source link

Add initial support for running via an on-system JIT #11

Closed alexcrichton closed 5 years ago

alexcrichton commented 5 years ago

This commit adds experimental support (aka off-by-default) to execute wasm files in a precompiled release mode JIT exposed as a dynamic library through the proposed wasm C API 1. A build script determines what's used, and for now it's only wired up to work on my own system. I figured it'd be good to get this into CI though to test out and ensure others can tinker around with this as well.

alexcrichton commented 5 years ago

I'll note that this isn't exactly what I would call a "professional quality" PR. I'm curious what you think though about landing this. Would you like to see this in an official well-documented form? Is the WIP state ok? Is this entirely non-viable into the future? (etc, etc).

I don't mind cleaning up as desired!