zig/lib/std/os
Andrew Kelley bf3ac66150
remove type coercion from array values to references
* Implements #3768. This is a sweeping breaking change that requires
   many (trivial) edits to Zig source code. Array values no longer
   coerced to slices; however one may use `&` to obtain a reference to
   an array value, which may then be coerced to a slice.

 * Adds `IrInstruction::dump`, for debugging purposes. It's useful to
   call to inspect the instruction when debugging Zig IR.

 * Fixes bugs with result location semantics. See the new behavior test
   cases, and compile error test cases.

 * Fixes bugs with `@typeInfo` not properly resolving const values.

 * Behavior tests are passing but std lib tests are not yet. There
   is more work to do before merging this branch.
2019-11-27 03:37:50 -05:00
..
bits Merge branch 'wasi-run-tests' of https://github.com/fengb/zig into fengb-wasi-run-tests 2019-11-25 17:53:26 -05:00
linux make std.mem.toSlice use null terminated pointers 2019-11-24 21:21:05 -05:00
uefi zig fmt 2019-11-25 13:53:13 -05:00
windows Use a specific access mask in Dir.openDirListW instead of a generic one. Untested. 2019-11-25 23:46:47 -05:00
bits.zig fixups and zig fmt 2019-11-08 01:52:23 -05:00
darwin.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
dragonfly.zig DragonFlyBSD support 2019-10-30 21:21:58 -04:00
freebsd.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
linux.zig string literals are now null terminated 2019-11-21 20:43:41 -05:00
netbsd.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
test.zig remove type coercion from array values to references 2019-11-27 03:37:50 -05:00
uefi.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
wasi.zig move logic to the appropriate layers; add new compile error 2019-11-25 18:46:17 -05:00
windows.zig zig fmt 2019-11-25 13:53:13 -05:00
zen.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00