| author | |
| committer | |
| log | c83d15653230c3a66f2c0652ac6138f6ec6a2f1c |
| tree | 95e765941872913e11c27e7dfc8f86efb5513aa3 |
| parent | 141f366bc6dd4f7f512589a1bd17d1b950e3a985 |
1 files changed, 4 insertions(+), 0 deletions(-)
mod.zig+4| ... | @@ -2,6 +2,10 @@ const std = @import("std"); | ... | @@ -2,6 +2,10 @@ const std = @import("std"); |
| 2 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 3 | const linux = std.os.linux; | 3 | const linux = std.os.linux; |
| 4 | 4 | ||
| 5 | comptime { | ||
| 6 | std.debug.assert(builtin.target.os.tag == .linux); | ||
| 7 | } | ||
| 8 | |||
| 5 | pub const errno = struct { | 9 | pub const errno = struct { |
| 6 | pub const Error = error{ | 10 | pub const Error = error{ |
| 7 | Unexpected, | 11 | Unexpected, |