aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorHao Li <haohaolee@users.noreply.github.com>2023-07-21 07:17:28 +0800
committerGitHub <noreply@github.com>2023-07-20 19:17:28 -0400
commit8a18abfd60392a3adcfc4e6cfa712f63ecf2bf67 (patch)
tree69ebb2188b3f765da493bf7955effe8c508732a4 /src/Compilation.zig
parent124448c1b6d73df6f20901888c79435e4d9e3da7 (diff)
downloadzig-8a18abfd60392a3adcfc4e6cfa712f63ecf2bf67.tar.gz
zig-8a18abfd60392a3adcfc4e6cfa712f63ecf2bf67.zip
Remove the SingleThread limitation for ARM (#16442)
The libc++ issue has been fixed in https://reviews.llvm.org/D118391, so we don't have this issue in llvm 16+ closes #6573
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 7d66c78a63..383b60a66d 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -1038,15 +1038,6 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation {
if (must_single_thread and !single_threaded) {
return error.TargetRequiresSingleThreaded;
}
- if (!single_threaded and options.link_libcpp) {
- if (options.target.cpu.arch.isARM()) {
- log.warn(
- \\libc++ does not work on multi-threaded ARM yet.
- \\For more details: https://github.com/ziglang/zig/issues/6573
- , .{});
- return error.TargetRequiresSingleThreaded;
- }
- }
const llvm_cpu_features: ?[*:0]const u8 = if (build_options.have_llvm and use_llvm) blk: {
var buf = std.ArrayList(u8).init(arena);