aboutsummaryrefslogtreecommitdiff
path: root/lib/zig.h
AgeCommit message (Expand)Author
2025-09-30cbe: workaround GCC miscompilationmlugg
2025-09-18std.zig.system: implement native CPU detection for LoongArchAlex Rønne Petersen
2025-08-11cbe: emit `nonstring` attributeJacob Young
2025-06-06x86_64: add support for pie executablesJacob Young
2025-05-17x86_64: rewrite scalar `<<|`Jacob Young
2025-04-26compiler: add @memmove builtindweiller
2025-02-23cbe: Implement support for -fno-builtin and @disableIntrinsics().Alex Rønne Petersen
2025-02-16zig.h: Add new zig_gcc macro to indicate GCC.Alex Rønne Petersen
2025-02-10cbe: fix ub triggered by mulw overflowing the promoted typeJacob Young
2025-01-29Fix issues in zig.h when building with clang-cl on Windows (#20331)Vahur Sinijärv
2025-01-28zig.h: Add some casts to __atomic macros to shut Clang warnings up.Alex Rønne Petersen
2024-12-03zig.h: Add zig_gnuc_asm macro to indicate availability of GNU-style inline asm.Alex Rønne Petersen
2024-12-03zig.h: Introduce operating system macros.Alex Rønne Petersen
2024-12-03zig.h: Introduce object format macros.Alex Rønne Petersen
2024-12-03zig.h: Move some macros and includes closer to where they're used.Alex Rønne Petersen
2024-12-03zig.h: Use C99/C11 headers if available regardless of language standard.Alex Rønne Petersen
2024-12-03zig.h: Remove duplicate and unguarded stdint.h include.Alex Rønne Petersen
2024-12-03zig.h: Implement zig_unreachable() with __assume(0) for MSVC.Alex Rønne Petersen
2024-12-03zig.h: Implement zig_frame_address() with _AddressOfReturnAddress() for MSVC.Alex Rønne Petersen
2024-12-03zig.h: Use zig_*_windows_teb() inline assembly with TinyCC and slimcc.Alex Rønne Petersen
2024-12-03zig.h: Avoid depending on cpuid.h for zig_x86_cpuid().Alex Rønne Petersen
2024-12-03zig.h: Introduce architecture macros to simplify checks throughout.Alex Rønne Petersen
2024-12-03zig.h: Don't use __debugbreak() for MinGW.Alex Rønne Petersen
2024-12-03zig.h: Define zig_gnuc for both GCC and Clang and stop using __GNUC__.Alex Rønne Petersen
2024-12-03zig.h: Add a zig_msvc macro to be used instead of _MSC_VER.Alex Rønne Petersen
2024-12-03zig.h: Use __thread for slimcc in pre-C11 mode.Alex Rønne Petersen
2024-12-03zig.h: Add support for C23 keywords.Alex Rønne Petersen
2024-12-03zig.h: Add TinyCC support where appropriate.Alex Rønne Petersen
2024-12-03zig.h: Use __BYTE_ORDER__ instead of __LITTLE_ENDIAN__ for endianness check.Alex Rønne Petersen
2024-11-24zig.h: Add zig_trap() and zig_breakpoint() implementations for Hexagon.Alex Rønne Petersen
2024-11-04zig.h: Improve portability of zig_*_windows_teb() helpers.Alex Rønne Petersen
2024-10-04remove `@fence` (#21585)David Rubin
2024-09-23zig.h: Improve portability of zig_trap() and zig_breakpoint().Alex Rønne Petersen
2024-07-26zig.h: fixup pointer atomic load definitionskcbanner
2024-07-13zig.h: expand zig_msvc_atomic_load_ into version for relaxed, acquire, and se...kcbanner
2024-07-13zig.h: replace `_InterlockedExchangeAdd` with a plain volatile loadkcbanner
2024-07-04cbe: fix for export changesJacob Young
2024-06-21- Fix `ypedef` -> `typedef`kcbanner
2024-05-22Revert "implement `@expect` builtin (#19658)"Andrew Kelley
2024-05-22implement `@expect` builtin (#19658)David Rubin
2024-04-30cbe: fix ub with integer `@abs`Jacob Young
2024-03-30cbe: fix uncovered bugsJacob Young
2024-03-30cbe: fix bugs revealed by an upcoming commitJacob Young
2024-01-03cbe: fix non-msvc externs and exportsJacob Young
2024-01-03Reapply "Merge pull request #17824 from kcbanner/fixup_msvc_fmax"Jacob Young
2024-01-01Revert "Merge pull request #17824 from kcbanner/fixup_msvc_fmax"Andrew Kelley
2024-01-01Merge pull request #17824 from kcbanner/fixup_msvc_fmaxAndrew Kelley
2023-11-12zig.h: workaround for gcc `f128` miscompilationsJacob Young
2023-11-05cbe: fixup __asm style exports, re-enable 12680 on macos now that alias isn't...kcbanner
2023-11-05cbe: fix builtins not being used by zig_import when they are availablekcbanner