diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-09-14 10:42:29 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-14 10:42:29 -0700 |
| commit | 04f6a26955bbb947983cbf3e0681d9092aaaa13f (patch) | |
| tree | 000d28126a84a4e191305f03f9ce2319789fc0c7 /src/codegen.cpp | |
| parent | c58e9951effddacfd5cef6c05019bc3f312747f8 (diff) | |
| download | zig-04f6a26955bbb947983cbf3e0681d9092aaaa13f.tar.gz zig-04f6a26955bbb947983cbf3e0681d9092aaaa13f.zip | |
fix stage1 regressions in this branch
also prepare for supporting linking into archives
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index b5c1ca3a41..ce6eeb1def 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -9013,7 +9013,7 @@ Buf *codegen_generate_builtin_source(CodeGen *g) { if (g->zig_target->os_builtin_str != nullptr) { buf_append_str(contents, g->zig_target->os_builtin_str); } else { - buf_appendf(contents, "Target.Os.defaultVersionRange(.%s);\n", cur_os); + buf_appendf(contents, "Target.Os.Tag.defaultVersionRange(.%s);\n", cur_os); } } buf_appendf(contents, "pub const object_format = ObjectFormat.%s;\n", cur_obj_fmt); |
