diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-03-26 06:39:28 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-03-26 06:39:28 -0400 |
| commit | 5bc9feb5cb98fc13db62d01b2b9fec15677310a7 (patch) | |
| tree | 12972dfc1f9b964bb74428ec0d6766e77b9b0be7 /std/io.zig | |
| parent | 7ce753a16b0c16b4c6494467f42f2d5fe9a235e6 (diff) | |
| download | zig-5bc9feb5cb98fc13db62d01b2b9fec15677310a7.tar.gz zig-5bc9feb5cb98fc13db62d01b2b9fec15677310a7.zip | |
organize std and make import relative to current file
closes #216
Diffstat (limited to 'std/io.zig')
| -rw-r--r-- | std/io.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/std/io.zig b/std/io.zig index 50733c9e13..109ed4072e 100644 --- a/std/io.zig +++ b/std/io.zig @@ -1,14 +1,14 @@ const system = switch(@compileVar("os")) { - Os.linux => @import("linux.zig"), - Os.darwin => @import("darwin.zig"), + Os.linux => @import("os/linux.zig"), + Os.darwin => @import("os/darwin.zig"), else => @compileError("Unsupported OS"), }; -const errno = @import("errno.zig"); +const errno = @import("os/errno.zig"); const math = @import("math.zig"); const debug = @import("debug.zig"); const assert = debug.assert; -const os = @import("os.zig"); +const os = @import("os/index.zig"); const mem = @import("mem.zig"); const Buffer0 = @import("cstr.zig").Buffer0; const fmt = @import("fmt.zig"); |
