zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 793fa93d9f99b49a6d91bd40195f5fcc783014d5 (tree)
parent 4a310ce7c13c9aa485200a2b712562ba20854272
Author: Matthew Lugg <mlugg@mlugg.co.uk>
Date:   Tue, 10 Mar 2026 10:38:21 +0000

stage1: update zig1.wasm

Generated using a compiler bootstrapped from the merge base of this
branch, and wasm-opt version 118.

Signed-off-by: Matthew Lugg <mlugg@mlugg.co.uk>

Diffstat:
Mstage1/zig.h | 10+++++++++-
Mstage1/zig1.wasm | 0
2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/stage1/zig.h b/stage1/zig.h @@ -151,6 +151,14 @@ #define zig_has_attribute(attribute) 0 #endif +#if __STDC_VERSION__ >= 201112L +#define zig_static_assert(cond, msg) _Static_assert(cond, msg) +#elif zig_has_attribute(unused) +#define zig_static_assert(cond, _) typedef char zig_expand_concat(zig_static_assert_fail_, __LINE__)[!!(cond)] __attribute__((unused)) +#else +#define zig_static_assert(cond, _) typedef char zig_expand_concat(zig_static_assert_fail_, __LINE__)[!!(cond)] +#endif + #if __STDC_VERSION__ >= 202311L #define zig_threadlocal thread_local #elif __STDC_VERSION__ >= 201112L @@ -259,7 +267,7 @@ #endif #if zig_has_attribute(packed) || defined(zig_tinyc) -#define zig_packed(definition) __attribute__((packed)) definition +#define zig_packed(definition) definition __attribute__((packed)) #elif defined(zig_msvc) #define zig_packed(definition) __pragma(pack(1)) definition __pragma(pack()) #else diff --git a/stage1/zig1.wasm b/stage1/zig1.wasm Binary files differ.