| author | |
| committer | |
| log | f28ef7ee29ee1e8a1df092f5c4fff0497718415c |
| tree | ce28881c69dad8238201c478d8b3a84e77230e58 |
| parent | 437059f37cc4e7fb0f1398043a88b2d7a9363653 |
This is a current limitation of our self-hosted linkers.1 files changed, 2 insertions(+), 0 deletions(-)
test/standalone/mix_c_files/build.zig+2| ... | @@ -24,6 +24,8 @@ fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.Optimize | ... | @@ -24,6 +24,8 @@ fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.Optimize |
| 24 | .optimize = optimize, | 24 | .optimize = optimize, |
| 25 | .link_libc = true, | 25 | .link_libc = true, |
| 26 | }), | 26 | }), |
| 27 | // extern threadlocals are not implemented in the self-hosted linker | ||
| 28 | .use_llvm = true, | ||
| 27 | }); | 29 | }); |
| 28 | exe.root_module.addCSourceFile(.{ .file = b.path("test.c"), .flags = &[_][]const u8{"-std=c11"} }); | 30 | exe.root_module.addCSourceFile(.{ .file = b.path("test.c"), .flags = &[_][]const u8{"-std=c11"} }); |
| 29 | 31 |