zig/lib
mlugg fe855691f6
std.Build.Step.Run: inherit build runner cwd
Right now, if you override the build root with `--build-root`, then
`Run` steps can fail to execute because of incorrect path handling in
the compiler: `std.process.Child` gets a cwd-relative path, but also has
its cwd set to the build root. The latter behavior is really weird; it
doesn't match my expectations, nor does it match how we spawn child
`zig` processes. So, this commit makes the child process inherit the
build runner's cwd, as `LazyPath.getPath2` *expects* it to.

After investigating, this behavior dates all the way back to 2017; it
was introduced in 4543413. So, there isn't any clear/documented reason
for this; it should be safe to revert, since under the modern `LazyPath`
system it is strictly a bug AFAICT.
2025-05-21 01:45:05 +01:00
..
c compiler-rt, zigc: Use hidden visibility except when testing. 2025-05-19 00:22:03 +02:00
compiler compiler: Scaffold stage2_powerpc backend. 2025-05-20 10:23:16 +02:00
compiler_rt compiler-rt: Add a comment explaining why we currently need weak linkage. 2025-05-19 00:22:03 +02:00
docs chore(std.mem): Rename trimLeft and trimRight 2025-04-27 18:03:59 +09:00
fuzzer/web Fix compile error in Fuzzer web-ui (#23605) 2025-04-19 23:10:51 +02:00
include zig cc: Update intrinsic headers to Clang 20. 2025-04-04 06:08:09 +02:00
init zig init template: remove outdated comments 2025-03-01 16:11:59 -08:00
libc libc: Add NetBSD libc abilists file. 2025-05-17 04:41:27 +02:00
libcxx libcxx: Backport llvm/llvm-project#137594. 2025-05-10 09:10:27 +02:00
libcxxabi libcxxabi: Update to Clang 20. 2025-04-04 06:08:09 +02:00
libtsan libtsan: Backport llvm/llvm-project#120036. 2025-05-12 16:24:59 +02:00
libunwind libunwind: Update to LLVM 20. 2025-04-04 06:08:09 +02:00
std std.Build.Step.Run: inherit build runner cwd 2025-05-21 01:45:05 +01:00
c.zig Introduce common bzero libc implementation. (#23812) 2025-05-10 10:37:21 +02:00
compiler_rt.zig x86_64: rewrite scalar and vector int @divTrunc 2025-02-15 03:45:21 -05:00
fuzzer.zig use correcct symbol for the end of pcguard section 2025-04-30 00:04:22 +02:00
ubsan_rt.zig compiler: Scaffold stage2_powerpc backend. 2025-05-20 10:23:16 +02:00
zig.h x86_64: rewrite scalar <<| 2025-05-17 18:00:17 -04:00