| author | |
| committer | |
| log | fa200ca0cad2705bad40eb723dedf4e3bf11f2ff |
| tree | 7926cbea1499e0affe930bf6d7455dc24adf014e |
| parent | 85ffb8f18f10506d03ac7b0a68288c855b828a2e |
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.2 files changed, 8 insertions(+), 0 deletions(-)
stage1/zig.h+8| ... | ... | @@ -188,6 +188,14 @@ typedef char bool; |
| 188 | 188 | #define zig_export(sig, symbol, name) __asm(name " = " symbol) |
| 189 | 189 | #endif |
| 190 | 190 | |
| 191 | #if zig_has_attribute(weak) || defined(zig_gnuc) | |
| 192 | #define zig_weak_linkage __attribute__((weak)) | |
| 193 | #elif _MSC_VER | |
| 194 | #define zig_weak_linkage __declspec(selectany) | |
| 195 | #else | |
| 196 | #define zig_weak_linkage zig_weak_linkage_unavailable | |
| 197 | #endif | |
| 198 | ||
| 191 | 199 | #if zig_has_builtin(trap) |
| 192 | 200 | #define zig_trap() __builtin_trap() |
| 193 | 201 | #elif _MSC_VER && (_M_IX86 || _M_X64) |
stage1/zig1.wasm| Binary files a/stage1/zig1.wasm and b/stage1/zig1.wasm differ |