WebAssembly / wasi-libc

WASI libc implementation for WebAssembly
https://wasi.dev
Other
862 stars 203 forks source link

Should we merge `wasi-libc` into `wasi-sdk`? #427

Open abrown opened 1 year ago

abrown commented 1 year ago
jedisct1 commented 1 year ago

These are different projects.

People already having clang on their system don't need yet another LLVM copy.

And regarding releases, having distinct releases for wasi-libc and the wask-sdk package would make more sense. wasi-libc tags could be updated according to actual changes in the library, independently from LLVM releases.

OS package managers and toolchains shipping wasi-libc could ship the same versions rather than random git commits. And wasi-sdk could be updated according to LLVM releases.

sbc100 commented 1 year ago

I think the idea is that we would allow folks to build just the wasi-libc part of wasi-sdk. There would be no need to build clang or even fetch it (since its a submodule you could just skip that step).

There is precedent for maintaining project like this is single repo. For example the llvm-project contains clang, libc++, the linker and a libc all in one repo.

trcrsired commented 1 year ago

No