aboutsummaryrefslogtreecommitdiff
path: root/src/link.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-03-02 16:46:04 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-03-02 16:46:04 -0500
commite40245570422c137f7239f411128973cc217389e (patch)
tree93ab6cef5d0744ca93aaf9fc768608f7ce8a26f3 /src/link.cpp
parentf7835000b62fb5b501f1d84c90f56e2aa11bc55a (diff)
downloadzig-e40245570422c137f7239f411128973cc217389e.tar.gz
zig-e40245570422c137f7239f411128973cc217389e.zip
rename std lib files to new convention
Diffstat (limited to 'src/link.cpp')
-rw-r--r--src/link.cpp4
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);
}