From 271d6f8bb235f9523a3920fab4681c0fc23664cf Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 1 Oct 2017 18:33:57 -0400 Subject: [PATCH] fix regression from previous commit --- src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 65ca7dead..9cd185280 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -347,8 +347,11 @@ int main(int argc, char **argv) { Buf *zig_lib_dir_buf = resolve_zig_lib_dir(zig_install_prefix); + Buf *zig_std_dir = buf_alloc(); + os_path_join(zig_lib_dir_buf, buf_create_from_str("std"), zig_std_dir); + Buf *special_dir = buf_alloc(); - os_path_join(zig_lib_dir_buf, buf_sprintf("special"), special_dir); + os_path_join(zig_std_dir, buf_sprintf("special"), special_dir); Buf *build_runner_path = buf_alloc(); os_path_join(special_dir, buf_create_from_str("build_runner.zig"), build_runner_path);