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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## What version of Zig to use

`0.17.0-dev.1158+1d1193aa7`
`0.17.0-dev.1454+5faa79730`

## Getting Started With MicroZig

Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Note: This should be changed if you fork microzig!
.fingerprint = 0x605a83a849186d0f,
.version = "0.15.2",
.minimum_zig_version = "0.17.0-dev.1158+1d1193aa7",
.minimum_zig_version = "0.17.0-dev.1456+2b1c6633a",
.dependencies = .{
.@"build-internals" = .{ .path = "build-internals" },
.core = .{ .path = "core" },
Expand Down
4 changes: 2 additions & 2 deletions modules/freertos/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
.path = "../foundation-libc/",
},
.translate_c = .{
.url = "git+https://codeberg.org/ziglang/translate-c#1b33d1d273f7035a16c45457efdf2afda7cf0925",
.hash = "translate_c-0.0.0-Q_BUWrI7BwCBn0jcYDTs1UP047kxSYoFpV6vD6Vuy9Vo",
.url = "git+https://codeberg.org/ziglang/translate-c#2a6613bcc09c74296d785e660fe98d2eb310d760",
.hash = "translate_c-0.0.0-Q_BUWjQ7BwAhlMt3Zf4l3Jw-y0_TOpJWgcK8rk4d0aWv",
},
},
.paths = .{ "build.zig", "build.zig.zon", "src", "config" },
Expand Down
2 changes: 1 addition & 1 deletion port/stmicro/stm32/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub fn build(b: *std.Build) !void {
if (generate) {
const stm32_data_generated = b.lazyDependency("stm32-data-generated", .{}) orelse return;

const generate_optimize = .ReleaseSafe;
const generate_optimize: std.lang.Optimize = .safe;
const regz_dep = b.dependency("microzig/tools/regz", .{
.optimize = generate_optimize,
});
Expand Down
2 changes: 1 addition & 1 deletion port/texasinstruments/msp430/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn build(b: *std.Build) void {
const ti_data = b.lazyDependency("ti_data", .{}) orelse return;
const targetdb = ti_data.path("targetdb");

const generate_optimize = .ReleaseSafe;
const generate_optimize: std.lang.Optimize = .safe;
const regz_dep = b.dependency("microzig/tools/regz", .{
.optimize = generate_optimize,
});
Expand Down
2 changes: 1 addition & 1 deletion port/texasinstruments/tm4c/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn build(b: *std.Build) void {
const ti_data = b.lazyDependency("ti_data", .{}) orelse return;
const targetdb = ti_data.path("targetdb");

const generate_optimize = .ReleaseSafe;
const generate_optimize: std.lang.Optimize = .safe;
const regz_dep = b.dependency("microzig/tools/regz", .{
.optimize = generate_optimize,
});
Expand Down
8 changes: 4 additions & 4 deletions tools/regz/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
},
.dependencies = .{
.libxml2 = .{
.url = "git+https://github.com/allyourcodebase/libxml2.git#e2c881ccb72dc96b03bb80f1f4c4b386969b76f7",
.hash = "libxml2-2.15.1-2-qHdjhjJXAAAF6fWNrfH_GFaXDHRNjlYQoeKF_RBnWtVu",
.url = "git+https://github.com/allyourcodebase/libxml2.git#38fb69d375bc364490a5cc9ac465732d03c836d3",
.hash = "libxml2-2.15.1-2-qHdjhjJXAADjFgEs5a_JV1oMyd9G6EsY12PvbfRAZwG-",
},
.virtual_io = .{ .path = "../../modules/virtual-io" },
.zqlite = .{
.url = "git+https://github.com/karlseguin/zqlite.zig#95054418207705ed9188b4d7467fec5136100f13",
.hash = "zqlite-0.0.1-RWLaY9UynADU9w6axCjGV9--FpxxKO_qu1qmorhTj2D9",
.url = "git+https://github.com/karlseguin/zqlite.zig#bf33be0d0a9e440015485221fb15921a1d7d8da2",
.hash = "zqlite-0.0.1-RWLaY2E8nABOD3eN1tGEGWV7AqkKfatsaddSzRKn5e_2",
},
},
}
4 changes: 2 additions & 2 deletions tools/regz/src/gen.zig
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ fn write_device_file(

try writer.writeByte(0);

var ast = try std.zig.Ast.parse(arena, to_zero_sentinel(buf.written()), .zig);
var ast = try std.zig.Ast.parse(arena, to_zero_sentinel(buf.written()), .{});
defer ast.deinit(arena);

if (ast.errors.len > 0) {
Expand Down Expand Up @@ -198,7 +198,7 @@ fn write_peripherals_files(io: std.Io, db: *Database, arena: Allocator, dir: std
});

try writer.writeByte(0);
var ast = try std.zig.Ast.parse(arena, to_zero_sentinel(periph_content.written()), .zig);
var ast = try std.zig.Ast.parse(arena, to_zero_sentinel(periph_content.written()), .{});
defer ast.deinit(arena);

if (ast.errors.len > 0) {
Expand Down
Loading