Closed wenq1 closed 2 years ago
When compiling to Wasm, you can specify imports by having an import
component that has methods. The resulting Wasm module can be linked against functions written in any language, including C.
Unfortunately there isn't a solution yet for writing Virgil code that can interoperate with C on any of the native targets.
How is interop with C supposed to work? with FFI or clang preprocessing?