authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-16 07:26:28+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-16 12:11:36+02:00
log77bb7adc5cd5fa24cd515684418c20ed9270c2ad
treebee56f9bebbb247a7921c93743774ce88bb2865b
parent31500242f0c82b8d3b5e1d7a683a8a6f4c803bb2

std.Target: require libc for emscripten

closes https://codeberg.org/ziglang/zig/issues/36498

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Target.zig+1-1
...@@ -2244,6 +2244,7 @@ pub fn requiresLibC(target: *const Target) bool {...@@ -2244,6 +2244,7 @@ pub fn requiresLibC(target: *const Target) bool {
2244 .dragonfly,2244 .dragonfly,
2245 .haiku,2245 .haiku,
2246 .serenity,2246 .serenity,
2247 .emscripten,
2247 => true,2248 => true,
22482249
2249 // Android API levels prior to 29 did not have native TLS support. For these API levels, TLS2250 // Android API levels prior to 29 did not have native TLS support. For these API levels, TLS
...@@ -2275,7 +2276,6 @@ pub fn requiresLibC(target: *const Target) bool {...@@ -2275,7 +2276,6 @@ pub fn requiresLibC(target: *const Target) bool {
2275 .hermit,2276 .hermit,
2276 .hurd,2277 .hurd,
2277 .wasi,2278 .wasi,
2278 .emscripten,
2279 .uefi,2279 .uefi,
2280 .opencl,2280 .opencl,
2281 .opengl,2281 .opengl,