I'd like to use/adapt the generate-raw crate from the https://github.com/bytecodealliance/wasi repo to use elsewhere (end-to-end tests of wiggle with a simpler spec than WASI)
@Alex Crichton idk if you've considered this before and have any thoughts. my initial thoughts were to rename it something like witx-generate
another possibility is we could merge it into the witx crate. ive also thought about possibly doing that for the gen-headers tool in wasi-libc
@Pat Hickey sounds good to me to export! It's pretty haphazard right now IIRC in that I didn't really put any thought into API design, but I'd be down for cleaning it up and publishing it. Having it natively as part of witx also seems reasonable to me, could even include some of the C generation there too
Last updated: Dec 06 2025 at 06:05 UTC