Skip to content

Zig 0.11 #8

Description

@alexgenaud

Line 115: Replace
@enumToInt(event_id) with
@intFromEnum(event_id)

Line 120: Replace
switch (@intToEnum(eventId, id)) { with

    var e: eventId = @enumFromInt(id);
    switch (e) {

Line 157: Replace
return @ptrToInt(buf.ptr); with
return @intFromPtr(buf.ptr);

The above changes will build with Zig 0.11. Though, I had trouble running in localhost python simple webserver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions