Commit 6bd54a1d3e

Andrew Kelley <andrew@ziglang.org>
2023-09-25 00:09:46
update zig1.wasm
Notable changes in this update: 127198e58cb3dcf2d2287124cf15a23a7d3a9c02 fixes building zig2 artifact on macOS Sonoma 14.0 (more specifically the SDK 14.0 linker). a8d2ed806558cc1472f3a532169a4994abe17833 fixed some alignment edge cases which is needed to do the store_hash=false change in the compiler source code. df5f0517b33b5f7bc2a508cf6a0ee62246f02d21 preserves result type information through the address-of operator.
1 parent ac6f9eb
Changed files (2)
stage1/zig.h
@@ -190,10 +190,13 @@ typedef char bool;
 
 #if zig_has_attribute(weak) || defined(zig_gnuc)
 #define zig_weak_linkage __attribute__((weak))
+#define zig_weak_linkage_fn __attribute__((weak))
 #elif _MSC_VER
 #define zig_weak_linkage __declspec(selectany)
+#define zig_weak_linkage_fn
 #else
 #define zig_weak_linkage zig_weak_linkage_unavailable
+#define zig_weak_linkage_fn zig_weak_linkage_unavailable
 #endif
 
 #if zig_has_builtin(trap)
stage1/zig1.wasm
Binary file