mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 09:03:12 +00:00
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
This commit is contained in:
parent
124448c1b6
commit
8a18abfd60
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user