diff options
| author | Benjamin Feng <contact@fengb.me> | 2019-11-19 20:17:00 -0600 |
|---|---|---|
| committer | Benjamin Feng <contact@fengb.me> | 2019-11-19 20:17:00 -0600 |
| commit | b88bb93af3cf22f5a994100e037dbb4091144f0c (patch) | |
| tree | 971dca551cc1a553579115c719e21e067a673fcb /lib/std/os.zig | |
| parent | 14e9c7d1f2f9a1b583237626e6b834c8e86d6cf7 (diff) | |
| download | zig-b88bb93af3cf22f5a994100e037dbb4091144f0c.tar.gz zig-b88bb93af3cf22f5a994100e037dbb4091144f0c.zip | |
WASI isatty
Diffstat (limited to 'lib/std/os.zig')
| -rw-r--r-- | lib/std/os.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/os.zig b/lib/std/os.zig index 68a3a6e9f6..36c1c8dbff 100644 --- a/lib/std/os.zig +++ b/lib/std/os.zig @@ -1522,7 +1522,7 @@ pub fn isatty(handle: fd_t) bool { return system.isatty(handle) != 0; } if (builtin.os == .wasi) { - @compileError("TODO implement std.os.isatty for WASI"); + return system.isatty(handle); } if (builtin.os == .linux) { var wsz: linux.winsize = undefined; |
