diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-05-03 14:39:54 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-05-03 14:39:54 -0400 |
| commit | bd9c629c4c306c9159a5e6ad16fe5637d2bc6dbf (patch) | |
| tree | f7f07bc1a38c20e4ebb77a4e4445b3c73213ff33 /std/packed_int_array.zig | |
| parent | 8cda4fd73a91e7bd678e69dbfbc0b46d15d116d4 (diff) | |
| download | zig-bd9c629c4c306c9159a5e6ad16fe5637d2bc6dbf.tar.gz zig-bd9c629c4c306c9159a5e6ad16fe5637d2bc6dbf.zip | |
always respect threadlocal for variables with external linkage
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.
Diffstat (limited to 'std/packed_int_array.zig')
0 files changed, 0 insertions, 0 deletions
