zig/lib
Lucas Santos 89942ebd03
Better implementation of GetLastError. (#20623)
Instead of calling the dynamically loaded kernel32.GetLastError, we can extract it from the TEB.
As shown by [Wine](34b1606019/include/winternl.h (L439)), the last error lives at offset 0x34 of the TEB in 32-bit Windows and at offset 0x68 in 64-bit Windows.
2024-07-15 10:49:51 -07:00
..
compiler build runner: update watch caption to include subprocesses 2024-07-14 22:27:51 -07:00
compiler_rt Update __chkstk_ms to have weak linkage (#20138) 2024-07-11 20:20:06 +00:00
docs Autodoc: only group structs under "namespaces" 2024-07-09 15:58:03 -04:00
include update C language headers to LLVM 18 2024-05-08 19:37:28 -07:00
init add a missing comment in build.zig.zon 2024-07-15 10:47:36 -07:00
libc glibc headers: arc4random* functions added in glibc 2.36 2024-07-03 02:57:24 -04:00
libcxx update libcxx and libcxxabi to llvm 18.1.6 2024-05-20 16:12:36 -04:00
libcxxabi update libcxx and libcxxabi to llvm 18.1.6 2024-05-20 16:12:36 -04:00
libunwind libunwind: update to LLVM 18 2024-05-08 19:37:29 -07:00
std Better implementation of GetLastError. (#20623) 2024-07-15 10:49:51 -07:00
tsan tsan: update rtl files to LLVM 17.0.6 2024-01-10 01:00:37 -07:00
c.zig std.builtin: make link mode fields lowercase 2024-03-11 07:09:10 -07:00
compiler_rt.zig stage2-wasm: bit_reverse 2024-06-16 11:53:33 +02:00
zig.h zig.h: expand zig_msvc_atomic_load_ into version for relaxed, acquire, and seq_cst 2024-07-13 19:45:45 -04:00