Skip to content

Commit 336aa3c

Browse files
marler8997kubkon
authored andcommitted
remove __muloti4 from libc++
fixes #10719 compiler_rt already provides __muloti4 but libc++ is also providing it and when linking libc++ it causes a crash on my windows x86_64 machine.
1 parent dd7309b commit 336aa3c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libcxx.zig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ const libcxx_files = [_][]const u8{
4343
"src/exception.cpp",
4444
"src/experimental/memory_resource.cpp",
4545
"src/filesystem/directory_iterator.cpp",
46-
"src/filesystem/int128_builtins.cpp",
46+
// omit int128_builtins.cpp because it provides __muloti4 which is already provided
47+
// by compiler_rt and crashes on Windows x86_64: https://github.com/ziglang/zig/issues/10719
48+
//"src/filesystem/int128_builtins.cpp",
4749
"src/filesystem/operations.cpp",
4850
"src/format.cpp",
4951
"src/functional.cpp",

0 commit comments

Comments
 (0)