mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 13:30:45 +00:00
fix regression with zig install dir
introduced in 1999f0daad505
This commit is contained in:
parent
4662fd4d92
commit
0509414dfe
@ -176,9 +176,9 @@ static int find_zig_lib_dir(Buf *out_path) {
|
||||
int err;
|
||||
|
||||
Buf self_exe_path = BUF_INIT;
|
||||
buf_resize(&self_exe_path, 0);
|
||||
if (!(err = os_self_exe_path(&self_exe_path))) {
|
||||
Buf *cur_path = &self_exe_path;
|
||||
buf_resize(cur_path, 0);
|
||||
|
||||
for (;;) {
|
||||
Buf *test_dir = buf_alloc();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user