mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-03 06:18:58 -04:00
bd9c629c4c
Previously if you had, for example: extern "c" threadlocal var errno: c_int; This would turn errno into a normal variable for --single-threaded builds. However for variables with external linkage, there is an ABI to uphold. This is needed to make errno work for DragonFly BSD. See #2381.