Start fixing 0.13 build
This commit is contained in:
parent
f92283d152
commit
8033d99423
@ -16,12 +16,12 @@
|
||||
// internet connectivity.
|
||||
.dependencies = .{
|
||||
.SDL = .{
|
||||
.url = "https://github.com/sergeypdev/SDL/tarball/fc1f821736ae929ef92d3d205cecd777b878e100",
|
||||
.hash = "1220483cbb42231cb056f4ea6669894c68ccd560d3af5832d6e9c84c61844bc20b7d",
|
||||
.url = "https://github.com/sergeypdev/SDL/tarball/d676fac90d338b10453966bee173ffe299b6f851",
|
||||
.hash = "12201f4fc3c26377eb3f7645cf6b2dd588b5868ba6b85e60fa36b5ea568b28243d62",
|
||||
},
|
||||
.@"zig-assimp" = .{
|
||||
.url = "https://github.com/sergeypdev/zig-assimp/tarball/39380dcc231788b3b54f447540bd6fea296fab10",
|
||||
.hash = "12209b95f2f5a85107ed38814143179f1e7516440704fb94004046d6f5b5ed3c8667",
|
||||
.url = "https://github.com/sergeypdev/zig-assimp/tarball/b10b2f03e2f3ab4a56948c583632dee61cc5fa21",
|
||||
.hash = "1220c43c5a676ba3113f4b3c1b35d8e7eab272f87ec9e78057077e685ecee655beed",
|
||||
},
|
||||
.zalgebra = .{
|
||||
.url = "https://github.com/sergeypdev/zalgebra/tarball/f6aa18f74b8935887595d5793d73181d44a80735",
|
||||
|
@ -47,7 +47,7 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void {
|
||||
defer arena.deinit();
|
||||
|
||||
const alloc = arena.allocator();
|
||||
const self = @fieldParentPtr(GenerateAssetManifest, "step", step);
|
||||
const self: *GenerateAssetManifest = @fieldParentPtr("step", step);
|
||||
|
||||
var man = b.graph.cache.obtain();
|
||||
defer man.deinit();
|
||||
@ -147,7 +147,7 @@ fn writeAssetManifest(arena: std.mem.Allocator, writer: anytype, assets: []Asset
|
||||
try writer.writeByte('\n');
|
||||
}
|
||||
|
||||
var buf: [std.os.PATH_MAX]u8 = undefined;
|
||||
var buf: [std.fs.MAX_PATH_BYTES]u8 = undefined;
|
||||
|
||||
// TODO: think about building a perfect hashmap
|
||||
// AssetId -> Asset path mapping
|
||||
|
@ -67,7 +67,7 @@ pub fn main() !void {
|
||||
const output_dirname = std.fs.path.dirname(output_dir_path) orelse return error.EmptyOutputPath;
|
||||
|
||||
var cwd_buf: [std.fs.MAX_PATH_BYTES]u8 = undefined;
|
||||
const cwd_path = try std.os.getcwd(&cwd_buf);
|
||||
const cwd_path = try std.process.getCwd(&cwd_buf);
|
||||
|
||||
const rel_input = try std.fs.path.relative(allocator, cwd_path, abs_input);
|
||||
const rel_output = try std.fs.path.relative(allocator, cwd_path, output_dirname);
|
||||
|
Loading…
x
Reference in New Issue
Block a user