From c83d15653230c3a66f2c0652ac6138f6ec6a2f1c Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Mon, 29 Dec 2025 02:46:33 -0800 Subject: [PATCH] assert this package is called from linux --- mod.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mod.zig b/mod.zig index bc0e0d90afb99a2168b32809ebde32c68746f2aa..8a1e617a703b6c618d79be3e8b35a63dac71eea1 100644 --- a/mod.zig +++ b/mod.zig @@ -2,6 +2,10 @@ const std = @import("std"); const builtin = @import("builtin"); const linux = std.os.linux; +comptime { + std.debug.assert(builtin.target.os.tag == .linux); +} + pub const errno = struct { pub const Error = error{ Unexpected, -- 2.54.0