Bump version to 0.1.1

- Fix panic when mixin not found with relative mixins_dir path
- Add warning log when mixin is not found
This commit is contained in:
2026-01-19 19:11:36 +05:30
parent 7d038df855
commit d633d6a0b5
2 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
.{ .{
.name = .pugz, .name = .pugz,
.version = "0.0.0", .version = "0.1.1",
.fingerprint = 0x822db0790e17621d, // Changing this has security and trust implications. .fingerprint = 0x822db0790e17621d, // Changing this has security and trust implications.
.minimum_zig_version = "0.15.2", .minimum_zig_version = "0.15.2",
.dependencies = .{ .dependencies = .{

View File

@@ -765,8 +765,11 @@ pub const Runtime = struct {
} }
} }
// If still not found, skip this mixin call // If still not found, log warning and skip this mixin call
const mixin_def = mixin orelse return; const mixin_def = mixin orelse {
std.log.warn("mixin '{s}' not found, skipping", .{call.name});
return;
};
try self.context.pushScope(); try self.context.pushScope();
defer self.context.popScope(); defer self.context.popScope();