mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
stage1: update zig1.wasm
Compiler needs a subset of the legalization features enabled.
This commit is contained in:
parent
6e72026e3b
commit
13392ad33f
@ -272,6 +272,15 @@
|
|||||||
#define zig_linksection_fn zig_linksection
|
#define zig_linksection_fn zig_linksection
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if zig_has_attribute(visibility)
|
||||||
|
#define zig_visibility(name) __attribute__((visibility(#name)))
|
||||||
|
#else
|
||||||
|
#define zig_visibility(name) zig_visibility_##name
|
||||||
|
#define zig_visibility_default
|
||||||
|
#define zig_visibility_hidden zig_visibility_hidden_unavailable
|
||||||
|
#define zig_visibility_protected zig_visibility_protected_unavailable
|
||||||
|
#endif
|
||||||
|
|
||||||
#if zig_has_builtin(unreachable) || defined(zig_gcc) || defined(zig_tinyc)
|
#if zig_has_builtin(unreachable) || defined(zig_gcc) || defined(zig_tinyc)
|
||||||
#define zig_unreachable() __builtin_unreachable()
|
#define zig_unreachable() __builtin_unreachable()
|
||||||
#elif defined(zig_msvc)
|
#elif defined(zig_msvc)
|
||||||
|
|||||||
BIN
stage1/zig1.wasm
BIN
stage1/zig1.wasm
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user