Archive.extract now directly uses Inode instead of File.

This commit is contained in:
Caleb J. Gardner
2026-02-07 06:57:55 -06:00
parent 704215e1a9
commit b64a3ec44a
2 changed files with 23 additions and 4 deletions
+3 -1
View File
@@ -1,14 +1,16 @@
const std = @import("std");
pub fn build(b: *std.Build) void {
const static = b.option(bool, "static_build", "Build static");
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{ .preferred_optimize_mode = .ReleaseFast });
const linkage: std.builtin.LinkMode = .static; // TODO: Add argument to set link mode.
const use_c_libs: bool = false;
_ = use_c_libs;
const mod = b.addModule("zig_squashfs", .{
.root_source_file = b.path("src/root.zig"),
.target = target,
.optimize = optimize,
// .imports = &.{},
});
const exe = b.addExecutable(.{
.name = "unsquashfs",