Skip to content

Commit

Permalink
update zig1.wasm
Browse files Browse the repository at this point in the history
Removes the first argument of `@fieldParentPtr`.
  • Loading branch information
jacobly0 committed Mar 30, 2024
1 parent cb5deb5 commit 2e36040
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions stage1/zig.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,14 @@ typedef char bool;
#endif

#if zig_has_attribute(section)
#define zig_linksection(name, def, ...) def __attribute__((section(name)))
#define zig_linksection(name) __attribute__((section(name)))
#define zig_linksection_fn zig_linksection
#elif _MSC_VER
#define zig_linksection(name, def, ...) __pragma(section(name, __VA_ARGS__)) __declspec(allocate(name)) def
#define zig_linksection(name) __pragma(section(name, read, write)) __declspec(allocate(name))
#define zig_linksection_fn(name) __pragma(section(name, read, execute)) __declspec(code_seg(name))
#else
#define zig_linksection(name, def, ...) zig_linksection_unavailable
#define zig_linksection(name) zig_linksection_unavailable
#define zig_linksection_fn zig_linksection
#endif

#if zig_has_builtin(unreachable) || defined(zig_gnuc)
Expand Down
Binary file modified stage1/zig1.wasm
Binary file not shown.

0 comments on commit 2e36040

Please sign in to comment.