diff options
Diffstat (limited to 'src/link.cpp')
| -rw-r--r-- | src/link.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/link.cpp b/src/link.cpp index 2e30dc6230..bd1879da1a 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -87,10 +87,8 @@ static Buf *build_a(CodeGen *parent_gen, const char *aname) { } static Buf *build_compiler_rt(CodeGen *parent_gen) { - Buf *dir_path = buf_alloc(); - os_path_join(parent_gen->zig_std_special_dir, buf_create_from_str("compiler_rt"), dir_path); Buf *full_path = buf_alloc(); - os_path_join(dir_path, buf_create_from_str("index.zig"), full_path); + os_path_join(parent_gen->zig_std_special_dir, buf_create_from_str("compiler_rt.zig"), full_path); return build_a_raw(parent_gen, "compiler_rt", full_path); } |
