andrewrk / andrewrk/zig-window

Can't build with zig 0.8.0 ?

Abierto
#12 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
134
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.