-
-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Description
Hey! I'm trying to build physically_based_rendering_wgpu or triangle_wgpu, using the latest version of the zig compiler (0.14.0-dev.3047+3a4bb47fe) and I'm getting this sequence of errors:
src\utils.zig:66:26: error: enum 'builtin.Type.Pointer.Size' has no member named 'Slice'
.size = .Slice,
~^~~~~
C:\zig\lib\std\builtin.zig:623:26: note: enum declared here
pub const Size = enum(u2) {
^~~~
src\pool.zig:94:48: note: called from here
pub const ColumnSlices = StructOfSlices(Columns);
~~~~~~~~~~~~~~^~~~~~~~~
src\utils.zig:66:26: error: enum 'builtin.Type.Pointer.Size' has no member named 'Slice'
.size = .Slice,
~^~~~~
C:\zig\lib\std\builtin.zig:623:26: note: enum declared here
pub const Size = enum(u2) {
^~~~
src\pool.zig:94:48: note: called from here
pub const ColumnSlices = StructOfSlices(Columns);
~~~~~~~~~~~~~~^~~~~~~~~
src\utils.zig:66:26: error: enum 'builtin.Type.Pointer.Size' has no member named 'Slice'
.size = .Slice,
~^~~~~
C:\zig\lib\std\builtin.zig:623:26: note: enum declared here
pub const Size = enum(u2) {
^~~~
src\pool.zig:94:48: note: called from here
pub const ColumnSlices = StructOfSlices(Columns);
~~~~~~~~~~~~~~^~~~~~~~~
src\utils.zig:66:26: error: enum 'builtin.Type.Pointer.Size' has no member named 'Slice'
.size = .Slice,
~^~~~~
C:\zig\lib\std\builtin.zig:623:26: note: enum declared here
pub const Size = enum(u2) {
^~~~
and so on. Zig 0.13 also doesn't work, for a different reason.
The unclear error message seems to be related to an open issue in the zig compiler issues: ziglang/zig#14492
Metadata
Metadata
Assignees
Labels
No labels