1
0
Fork 0

Zig 0.10 compatibility

This commit is contained in:
Julien Dessaux 2023-01-15 17:17:39 +01:00
parent b6c69abdf5
commit 510213bcf3
Signed by: adyxax
GPG key ID: F92E51B86E07177E
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ Since [learning zig](https://www.adyxax.org/blog/2022/08/22/learning-the-zig-pro
## Dependencies
zig is required. Only zig version >= 0.9.1 on linux amd64 (Gentoo) is being regularly tested.
zig is required. Only zig version >= 0.10.0 on linux amd64 (Gentoo) is being regularly tested.
On top of that the wasm4 runtime (which I installed from npm) is required, version >= 2.5.3.

View file

@ -6,7 +6,7 @@ const w4 = @import("wasm4.zig");
pub const Buttons = packed struct {
x: bool = false,
y: bool = false,
_: u2,
_: u2 = 0,
left: bool = false,
right: bool = false,
up: bool = false,