don't link -lc when building zig wasm hosts

This commit is contained in:
Luke Boswell 2024-08-05 12:18:41 +10:00
parent 16a5ed9bf1
commit 0c184fb166
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
2 changed files with 1 additions and 4 deletions

View file

@ -111,7 +111,7 @@ comptime {
const Unit = extern struct {};
pub fn main() u8 {
pub export fn main() u8 {
const stderr = std.io.getStdErr().writer();
// The size might be zero; if so, make it at least 8 so that we don't have a nullptr

View file

@ -269,9 +269,6 @@ pub fn build_zig_host_wasm32(
emit_bin,
// include the zig runtime
// "-fcompiler-rt",
// include libc
"--library",
"c",
"-target",
"wasm32-wasi",
// "-femit-llvm-ir=/home/folkertdev/roc/roc/crates/cli/tests/benchmarks/platform/host.ll",