Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
},

.translate_c = .{
.url = "git+https://codeberg.org/ziglang/translate-c#38d8339d9050eafe5dcf85b4fc9368576ca967e1",
.hash = "translate_c-0.0.0-Q_BUWoROBwAyokT5SJSw4YIrwdLd1w53i-pEYwBDqXZt",
.url = "git+https://codeberg.org/ziglang/translate-c#4436e6aae966d3759ac7a8443e0b11fb038cb946",
.hash = "translate_c-0.0.0-Q_BUWqlPBwDt4P0SQNyN7B2xOzxnKulwdSV0kHYmMgwc",
},
},
}
2 changes: 1 addition & 1 deletion build/patch.zig
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const Chunk = struct {
const src = getLineNumber(details[0..space_index]);
const dst = getLineNumber(details[space_index + 1 ..]);

var lines: std.ArrayListUnmanaged(Line) = .empty;
var lines: std.ArrayList(Line) = .empty;
while (true) {
const diff_line = it.next() orelse break;
if (std.mem.startsWith(u8, diff_line, "@@")) break;
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# A subset of tests that are expected to work also on stable builds of zig
test:
zig build --fetch=all
zig build --fetch
zig build test --summary failures -Dlang=lua51
zig build test --summary failures -Dlang=lua52
zig build test --summary failures -Dlang=lua53
Expand Down
4 changes: 2 additions & 2 deletions src/define.zig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const std = @import("std");
const ArrayList = std.ArrayListUnmanaged; // this should be deleted when zig 0.14 support is no longer necessary
const StringHashMap = std.StringHashMapUnmanaged; // this should be deleted when zig 0.14 support is no longer necessary
const ArrayList = std.ArrayList;
const StringHashMap = std.StringHashMapUnmanaged;

const String = ArrayList(u8);
const Database = StringHashMap(void);
Expand Down
2 changes: 1 addition & 1 deletion src/tests.zig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const std = @import("std");
const testing = std.testing;
const ArrayList = std.ArrayListUnmanaged; // delete this once 0.14 support is no longer necessary
const ArrayList = std.ArrayList;

const zlua = @import("zlua");

Expand Down
Loading