mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
update zig1.wasm
This is needed because bug fixes to the C backend are required in order to actually update the standard library and compiler sources to use the new `@memcpy` and `@memset` semantics.
This commit is contained in:
parent
85ffb8f18f
commit
fa200ca0ca
2 changed files with 8 additions and 0 deletions
|
|
@ -188,6 +188,14 @@ typedef char bool;
|
|||
#define zig_export(sig, symbol, name) __asm(name " = " symbol)
|
||||
#endif
|
||||
|
||||
#if zig_has_attribute(weak) || defined(zig_gnuc)
|
||||
#define zig_weak_linkage __attribute__((weak))
|
||||
#elif _MSC_VER
|
||||
#define zig_weak_linkage __declspec(selectany)
|
||||
#else
|
||||
#define zig_weak_linkage zig_weak_linkage_unavailable
|
||||
#endif
|
||||
|
||||
#if zig_has_builtin(trap)
|
||||
#define zig_trap() __builtin_trap()
|
||||
#elif _MSC_VER && (_M_IX86 || _M_X64)
|
||||
|
|
|
|||
BIN
stage1/zig1.wasm
BIN
stage1/zig1.wasm
Binary file not shown.
Loading…
Add table
Reference in a new issue