mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
tests: extern threadlocals require LLVM
This is a current limitation of our self-hosted linkers.
This commit is contained in:
parent
437059f37c
commit
f28ef7ee29
@ -24,6 +24,8 @@ fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.Optimize
|
|||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
}),
|
}),
|
||||||
|
// extern threadlocals are not implemented in the self-hosted linker
|
||||||
|
.use_llvm = true,
|
||||||
});
|
});
|
||||||
exe.root_module.addCSourceFile(.{ .file = b.path("test.c"), .flags = &[_][]const u8{"-std=c11"} });
|
exe.root_module.addCSourceFile(.{ .file = b.path("test.c"), .flags = &[_][]const u8{"-std=c11"} });
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user