zig/tools
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
..
crc std.hash.crc: simplify api 2024-04-28 21:12:01 +12:00
spirv spirv: update spec generator 2024-03-18 19:13:46 +01:00
docgen.zig std: restructure child process namespace 2024-05-26 09:31:55 -07:00
doctest.zig Replace YES_COLOR with CLICOLOR_FORCE 2024-06-02 17:35:34 -04:00
dump-cov.zig std.debug.Coverage.resolveAddressesDwarf: fix broken logic 2024-08-13 15:02:53 -07:00
gen_outline_atomics.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
gen_spirv_spec.zig ComptimeStringMap: return a regular struct and optimize 2024-04-22 15:31:41 -07:00
gen_stubs.zig Add loongarch 64 to gen_stubs.zig. 2024-08-04 12:04:39 -07:00
generate_c_size_and_align_checks.zig std.Target: Rename c_type_* functions to camel case 2024-08-12 00:36:51 +01:00
generate_JSONTestSuite.zig update for the std.fs.Dir changes 2023-11-22 15:24:57 -07:00
generate_linux_syscalls.zig fix(fmt): remove additional trailing newline 2024-08-09 13:07:54 -07:00
incr-check.zig fix various issues related to Path handling in the compiler and std 2024-08-19 19:09:11 +02:00
lldb_pretty_printers.py cbe: rewrite CType 2024-03-30 20:50:48 -04:00
migrate_langref.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
process_headers.zig Merge pull request #20909 from alexrp/glibc-riscv 2024-08-07 01:14:54 -07:00
stage1_gdb_pretty_printers.py
stage2_gdb_pretty_printers.py
std_gdb_pretty_printers.py
update_clang_options.zig default "trace pc guard" coverage off 2024-07-23 17:30:53 -07:00
update_cpu_features.zig std.Target: Rename feature_set_fns to FeatureSetFns 2024-08-12 00:34:59 +01:00
update_crc_catalog.zig std.hash.crc: simplify api 2024-04-28 21:12:01 +12:00
update_glibc.zig Revert "Merge pull request #12060 from Vexu/IterableDir" 2023-11-22 12:35:33 -07:00
update_mingw.zig mingw-w64 updater: don't include windowsapp or onecore APIs 2024-03-20 11:25:54 -07:00
update_spirv_features.zig std.Target: Rename feature_set_fns to FeatureSetFns 2024-08-12 00:34:59 +01:00
update-linux-headers.zig Rename Dir.writeFile2 -> Dir.writeFile and update all callsites 2024-05-03 13:29:22 -07:00
zig_gdb_pretty_printers.py