andrewrk / andrewrk/zig-window

Can't build with zig 0.8.0 ?

Aperta
#12 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
134
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Tried to built it with zig 0.8.0 but compiler complain:

```
❯ zig build -Dtarget=x86_64-linux
./src/main.zig:252:34: error: container 'builtin' has no member called 'endian'
.byte_order = if (builtin.endian == builtin.Endian.Big) 0x42 else 0x6c,
^
./src/main.zig:218:5: note: referenced here
try writeSetup(sock, auth);
^
./src/main.zig:179:51: note: referenced here
return connectToStream(allocator, sock, auth) catch |err| switch (err) {
^
./src/main.zig:91:12: note: referenced here
return try connectToDisplay(allocator, parsed, null);
^
nox...The following command exited with error code 1:
/usr/bin/zig build-exe /home/naia/zig-window/example/nox.zig --cache-dir /home/naia/zig-window/zig-cache --global-cache-dir /home/naia/.cache/zig --name nox --pkg-begin window /home/naia/zig-window/src/main.zig --pkg-end --enable-cache
error: the following build command failed with exit code 1:
/home/naia/zig-window/zig-cache/o/ccbd26785dce871b5dfe91bcf48914cf/build /usr/bin/zig /home/naia/zig-window /home/naia/zig-window/zig-cache /home/naia/.cache/zig
❯ zig version
0.8.0
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.