zig/lib/std/os/bits
Andrew Kelley a98fa56ae9 std: [breaking] move errno to become an nonexhaustive enum
The primary purpose of this change is to eliminate one usage of
`usingnamespace` in the standard library - specifically the usage for
errno values in `std.os.linux`.

This is accomplished by truncating the `E` prefix from error values, and
making errno a proper enum.

A similar strategy can be used to eliminate some other `usingnamespace`
sites in the std lib.
2021-08-24 01:23:28 -04:00
..
linux std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
darwin.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
dragonfly.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
freebsd.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
haiku.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
linux.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
netbsd.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
openbsd.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
posix.zig Move iovec and log levels to bits/posix.zig 2021-08-02 11:05:05 +00:00
wasi.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
windows.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00