| author | |
| committer | |
| log | 241e100827fffde710eb0722691eeee592854744 |
| tree | 1be686c7673ce511c2dba2bad4c740f6390a7e40 |
| parent | dd1fc1cb8c2258256566fd0035deb6fbf700fc69 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/os.zig+1-1| ... | ... | @@ -59,7 +59,7 @@ test { |
| 59 | 59 | /// Applications can override the `system` API layer in their root source file. |
| 60 | 60 | /// Otherwise, when linking libc, this is the C API. |
| 61 | 61 | /// When not linking libc, it is the OS-specific system interface. |
| 62 | pub const system = if (@hasDecl(root, "os") and root.os != @This()) | |
| 62 | pub const system = if (@hasDecl(root, "os") and @hasDecl(root.os, "system") and root.os != @This()) | |
| 63 | 63 | root.os.system |
| 64 | 64 | else if (use_libc) |
| 65 | 65 | std.c |