JasonBock / WebAssembly.Generators

Source generators for the WebAssembly package.
MIT License
1 stars 1 forks source link

Provide More Generator Host Options #5

Open JasonBock opened 3 years ago

JasonBock commented 3 years ago

There is a bit of a concern from a perf/responsiveness standpoint with having this being a C# source generator, in that the generator needs to parse the .wasm file to create the shim types. Typically, AdditionalFile values are meant to be textural so the infrastructure can provide the file content relatively quickly. (At least I think that's the concern). Anyway, I'm thinking of providing a .NET tool that will let someone create the shim classes from the command line.

This means I'll need to do some project restructuring: