roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
4.38k stars 309 forks source link

Nightly does not bundle `wasi-libc.a` #6029

Open bhansconnect opened 11 months ago

bhansconnect commented 11 months ago

When building wasm platforms, we link in wasi-libc.a. This currently only works if you built the compiler from source. We should make this also just work when compiling with nightlies.

Should be a matter of include wasi-libc.a in the nightlies and then setting WASI_LIBC_PATH correctly. I believe it currently comes from an environment variable or default path.

rgripper commented 10 months ago

seems like a duplicate of https://github.com/roc-lang/roc/issues/5573