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: Nov 22 2024 at 16:03 UTC