From e40245570422c137f7239f411128973cc217389e Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 2 Mar 2019 16:46:04 -0500 Subject: rename std lib files to new convention --- src/link.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/link.cpp') 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); } -- cgit v1.2.3