aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/export_generic_function.zig
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2024-06-15 22:22:11 +0200
committerIsaac Freund <mail@isaacfreund.com>2024-06-17 23:26:53 +0200
commita1777cb5cb378374377fd1c5e37bef9292b90910 (patch)
tree01d5ca0d0657672a8ac28ef0a2d558f21d79a4f7 /test/cases/compile_errors/export_generic_function.zig
parent687a756bf9b443ae53aa6dc3ee8f4a1550a09597 (diff)
downloadzig-a1777cb5cb378374377fd1c5e37bef9292b90910.tar.gz
zig-a1777cb5cb378374377fd1c5e37bef9292b90910.zip
std: fix pthread_{get,set}name_np return type ABI
I believe this was accidentally broken when the E enum for errno values was introduces. These functions are quite the special case in that they return the error value directly rather than returning -1 and passing the error value through the errno variable. In any case, using a u16 as the return type at the ABI boundary where a c_int is expected is asking for trouble.
Diffstat (limited to 'test/cases/compile_errors/export_generic_function.zig')
0 files changed, 0 insertions, 0 deletions