watt
watt copied to clipboard
Runtime for executing procedural macros as WebAssembly
Would love to write macros using watt, it's very exciting. Can't get anything to work unfortunately, following the demo or the example pattern in the readme. # Demo broken ```...
This project is brilliant! I've wanted some way to pre-compile build tools like this for a while. I've got a fairly hefty feature request, though. Currently, Watt is designed to...
I just tried to use watt with serde_derive to improve performance in a project of mine, only to find it got much slower running the derive macros. Just compiling the...
In my procedural macro, I need several crates that further depends on procedural macro. For example: ```rust #[derive(serde::Deserialize)] struct Config { ... } use proc_macro2::TokenStream; #[no_mangle] pub extern "C" fn...
This pr tries to make the proc_macro crate accessible inside webassembly by implementing proc_macro's unstable interal trait `proc_macro::bridge::Server` and forwarding all the calls over ffi. This pr is still work...
I'm currently working on a pr that allows proc_macro to run inside webassembly by implementing a `proc_macro::bridge::Server` that forwards all the calls over ffi to the real macro. (I already...
Hi! Thank you for this cool work! I think that this approach could also address this [issue](https://github.com/rust-lang/rust/issues/44034). More precisely, I mean persistent data storage for all macros. This could be...
Hello Maybe this is just a paranoia on my side. However, currently if I want to do an audit of my dependencies, I can download and extract the crate source...
I made a cargo subcommand called [cargo watt](https://github.com/jakobhellermann/cargo-watt), which aims to improve the tooling listed in the README. Currently, it does two things: 1. Compile a proc-macro crate (locally, from...