From 9904a3ac9d35641ba4676ad97c8abd96b20aa1a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 8 Nov 2024 11:54:57 +0100 Subject: [PATCH] c: Include Os.Tag.other in the list of freestanding OSs. --- lib/c.zig | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/c.zig b/lib/c.zig index 31a7d3d6ff..734940ff05 100644 --- a/lib/c.zig +++ b/lib/c.zig @@ -17,12 +17,8 @@ const is_wasm = switch (native_arch) { .wasm32, .wasm64 => true, else => false, }; -const is_msvc = switch (native_abi) { - .msvc => true, - else => false, -}; const is_freestanding = switch (native_os) { - .freestanding => true, + .freestanding, .other => true, else => false, };