0xPolygonMiden / compiler

Compiler from MidenIR to Miden Assembly
MIT License
64 stars 22 forks source link

Port type remapping from `wasmtime` to `wit-bindgen` #116

Open greenhat opened 9 months ago

greenhat commented 9 months ago

Following https://github.com/0xPolygonMiden/compiler/issues/113#issuecomment-1918682558

The type remapping is missing in wit-bindgen and can be ported from wasmtime's bindgen! implementation according to https://github.com/bytecodealliance/wit-bindgen/issues/825#issuecomment-1917541546

greenhat commented 1 month ago

@bitwalker I updated my old patch, and it's ready for your review at https://github.com/greenhat/wit-bindgen/pull/2 I appreciate your feedback. As soon as we're ready I'll open a PR in the upstream.