aboutsummaryrefslogtreecommitdiff
path: root/src/ThreadPool.zig
diff options
context:
space:
mode:
authorCody Tapscott <topolarity@tapscott.me>2022-07-11 18:46:24 -0700
committerCody Tapscott <topolarity@tapscott.me>2022-07-28 22:21:24 -0700
commitb0525344a2b0b158369251c031159bef241048da (patch)
treeff088aec78d7471d1d2f6c92ee5a05ec9f2439fb /src/ThreadPool.zig
parent0fc79d602bf9b3a5c97cfc28b59193b005692cb2 (diff)
downloadzig-b0525344a2b0b158369251c031159bef241048da.tar.gz
zig-b0525344a2b0b158369251c031159bef241048da.zip
Add check to verify libc++ is shared by LLVM/Clang
This check is needed because if static/dynamic linking is mixed incorrectly, it's possible for Clang and LLVM to end up with duplicate "copies" of libc++. This is not benign: Static variables are not shared, so equality comparisons that depend on pointers to static variables will fail. One such failure is std::generic_category(), which causes POSIX error codes to compare as unequal when passed between LLVM and Clang. I believe this is the cause of https://github.com/ziglang/zig/issues/11168 In order to avoid affecting build times when Zig is repeatedly invoked, we only enable this check for "zig env" and "zig version"
Diffstat (limited to 'src/ThreadPool.zig')
0 files changed, 0 insertions, 0 deletions