mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
don't link -lc when building zig wasm hosts
This commit is contained in:
parent
16a5ed9bf1
commit
0c184fb166
2 changed files with 1 additions and 4 deletions
|
@ -111,7 +111,7 @@ comptime {
|
||||||
|
|
||||||
const Unit = extern struct {};
|
const Unit = extern struct {};
|
||||||
|
|
||||||
pub fn main() u8 {
|
pub export fn main() u8 {
|
||||||
const stderr = std.io.getStdErr().writer();
|
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
|
// The size might be zero; if so, make it at least 8 so that we don't have a nullptr
|
||||||
|
|
|
@ -269,9 +269,6 @@ pub fn build_zig_host_wasm32(
|
||||||
emit_bin,
|
emit_bin,
|
||||||
// include the zig runtime
|
// include the zig runtime
|
||||||
// "-fcompiler-rt",
|
// "-fcompiler-rt",
|
||||||
// include libc
|
|
||||||
"--library",
|
|
||||||
"c",
|
|
||||||
"-target",
|
"-target",
|
||||||
"wasm32-wasi",
|
"wasm32-wasi",
|
||||||
// "-femit-llvm-ir=/home/folkertdev/roc/roc/crates/cli/tests/benchmarks/platform/host.ll",
|
// "-femit-llvm-ir=/home/folkertdev/roc/roc/crates/cli/tests/benchmarks/platform/host.ll",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue