Per, https://github.com/dotnet/runtimelab/pull/2614#discussion_r1661386986, I've been adding WASIp2 support to .NET, and the current approach involves checking the wit-bindgen
-generated bindings into source control (along with a script to regenerate them as desired), analogous to what we've done in wasi-libc
.
However, the maintainers are concerned about the component type .o file being opaque and difficult to audit from a security perspective. Do we have other options for making that information available to wasm-component-ld
, e.g. emitting a WAT file that could be passed directly to wasm-component-ld
?
e.g. clang -Wl,--component-type=foo.wat ...
I went ahead and opened an issue: https://github.com/bytecodealliance/wit-bindgen/issues/994
Last updated: Dec 23 2024 at 12:05 UTC