zig/lib/std/os
Andrew Kelley 17eb24a7e4
move types from builtin to std
* All the data types from `@import("builtin")` are moved to
  `@import("std").builtin`. The target-related types are moved
  to `std.Target`. This allows the data types to have methods, such as
  `std.Target.current.isDarwin()`.
 * `std.os.windows.subsystem` is moved to
   `std.Target.current.subsystem`.
 * Remove the concept of the panic package from the compiler
   implementation. Instead, `std.builtin.panic` is always the panic
   function. It checks for `@hasDecl(@import("root"), "panic")`,
   or else provides a default implementation.

This is an important step for multibuilds (#3028). Without this change,
the types inside the builtin namespace look like different types, when
trying to merge builds with different target settings. With this change,
Zig can figure out that, e.g., `std.builtin.Os` (the enum type) from one
compilation and `std.builtin.Os` from another compilation are the same
type, even if the target OS value differs.
2019-10-23 19:09:49 -04:00
..
bits add freebsd AT_* bits 2019-10-21 20:50:47 -04:00
linux improve docs and field names of Statx struct 2019-10-16 17:24:42 -04:00
uefi std/os/uefi: add documentation 2019-10-16 21:46:41 +02:00
windows fix os.unlinkatW implementation 2019-10-21 20:58:53 -04:00
bits.zig
darwin.zig
freebsd.zig
linux.zig Add support for the statx syscall 2019-10-12 20:51:51 +02:00
netbsd.zig
test.zig Use 8192 sized buffers and remove allocator parameters 2019-10-19 14:04:51 -04:00
uefi.zig std/os/uefi: add documentation 2019-10-16 21:46:41 +02:00
wasi.zig
windows.zig move types from builtin to std 2019-10-23 19:09:49 -04:00
zen.zig Errno changes for MIPS 2019-09-26 18:07:39 +02:00