zig/lib/compiler
Robin Voetter 43f73af359
fix various issues related to Path handling in the compiler and std
A compilation build step for which the binary is not required could not
be compiled previously. There were 2 issues that caused this:

- The compiler communicated only the results of the emitted binary and
  did not properly communicate the result if the binary was not emitted.

  This is fixed by communicating the final hash of the artifact path (the
  hash of the corresponding /o/<hash> directory) and communicating this
  instead of the entire path. This changes the zig build --listen protocol
  to communicate hashes instead of paths, and emit_bin_path is accordingly
  renamed to emit_digest.

- There was an error related to the default llvm object path when
  CacheUse.Whole was selected. I'm not really sure why this didn't manifest
  when the binary is also emitted.

  This was fixed by improving the path handling related to flush() and
  emitLlvmObject().

In general, this commit also improves some of the path handling throughout
the compiler and standard library.
2024-08-19 19:09:11 +02:00
..
aro Merge pull request #21020 from alexrp/target-fixes 2024-08-15 22:13:31 -07:00
aro_translate_c fix(fmt): pointer type syntax to index (take 2) (#20336) 2024-07-21 01:55:52 -07:00
reduce
resinator Condense and extend std.Treap's traversal functionalities. (#20002) 2024-07-28 19:47:55 -07:00
aro_translate_c.zig aro_translate_c: fix formatting 2024-07-31 10:33:44 -07:00
build_runner.zig build runner: --fuzz not yet supported on Windows 2024-08-07 00:48:32 -07:00
fmt.zig std.posix: read on timerfd can return error.Canceled 2024-08-08 01:12:26 -07:00
libc.zig
objcopy.zig fix various issues related to Path handling in the compiler and std 2024-08-19 19:09:11 +02:00
reduce.zig
std-docs.zig std.tar: add writer (#19603) 2024-08-15 22:05:53 -07:00
test_runner.zig fuzzer web ui: introduce entry points 2024-08-07 00:48:32 -07:00