diff options
| author | Manlio Perillo <manlio.perillo@gmail.com> | 2023-03-24 21:50:02 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-06-18 18:20:42 -0700 |
| commit | 423d7b848b1953173df99fde1f83166dc68c2a2c (patch) | |
| tree | 851bc6bbccfff2b8b85ae60471f535ce5e4b3f58 /lib/std/debug.zig | |
| parent | 539e0b0469457e6f3732f9d417cf023d7a1f1b68 (diff) | |
| download | zig-423d7b848b1953173df99fde1f83166dc68c2a2c.tar.gz zig-423d7b848b1953173df99fde1f83166dc68c2a2c.zip | |
test/src/Cases: fix incorrect code to find zig_lib_directory
The runCases function incorrectly called the introspect.findZigLibDir
function, causing a possible error, depending on the location of the
local cache directory, since the current executable is check-case.
Use findZigLibDirFromSelfExe, passing the zig_exe_path argument.
The current CI scripts work correctly because ZIG_LOCAL_CACHE_DIR is set
to "$(pwd)/zig-local-cache".
Fixes #15044
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions
