bytecodealliance / bytecodealliance/wasmtime-dotnet
Consider using a tool to generate c bindings over manual creation
- Dominant language
- C#
- Stars
- 519
- Forks
- 67
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 1
Description
Right now the api is generated by hand by referencing the wasmtime c library headers. We could automate this process which would make it easier to catch issues and make updates.
See:
Doing a little more digging, and it seems we could use a tool like https://github.com/dotnet/clangsharp?tab=readme-ov-file#generating-bindings to point at header files and generate c#. This would require a bit of changes to the project but would help catch the changes to files.
_Originally posted by @jsturtevant in https://github.com/bytecodealliance/wasmtime-dotnet/issues/315#issuecomment-2211240505_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.