vezel-dev / zig-sdk

An MSBuild SDK for building Zig, C, and C++ projects using the Zig compiler.
https://docs.vezel.dev/zig-sdk
BSD Zero Clause License
75 stars 2 forks source link

Investigate WebAssembly (`browser-wasm`) support #26

Open alexrp opened 3 years ago

alexrp commented 3 years ago

Zig has some support for WebAssembly, but I'm not sure how complete/usable it is.

This will depend on: https://github.com/dotnet/runtime/issues/44636

It will also partially depend on:

alexrp commented 2 years ago

In theory, we should just be able to provide a .bc/.a file to the Blazor SDK once everything is in place. But things may get messy if Zig targets a different WASI version than Blazor...

alexrp commented 4 days ago

We now have basic support for targeting wasi-wasm (#181). browser-wasm is still an open question.