Update to latest Zig master (0.10.0-dev.2017+a0a2ce92c) (#261)
* use `@ceil` instead of `std.math.ceil` * `ChildProcess.init` does not allocate anymore * update CI zig version * examples: temporarily switch to fork of zigimg compatible with zig-master Commands executed: ``` git submodule set-url -- examples/libs/zigimg https://github.com/slimsag/zigimg git submodule set-branch --branch zig-master -- examples/libs/zigimg git submodule update --init --remote examples/libs/zigimg ``` Signed-off-by: Stephen Gutekanst <stephen@hexops.com> Co-authored-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
0e64b9608c
commit
4570838304
9 changed files with 26 additions and 25 deletions
|
|
@ -153,7 +153,7 @@ fn ensureDependencySubmodule(allocator: std.mem.Allocator, path: []const u8) !vo
|
|||
if (std.process.getEnvVarOwned(allocator, "NO_ENSURE_SUBMODULES")) |no_ensure_submodules| {
|
||||
if (std.mem.eql(u8, no_ensure_submodules, "true")) return;
|
||||
} else |_| {}
|
||||
const child = try std.ChildProcess.init(&.{ "git", "submodule", "update", "--init", path }, allocator);
|
||||
var child = std.ChildProcess.init(&.{ "git", "submodule", "update", "--init", path }, allocator);
|
||||
child.cwd = thisDir();
|
||||
child.stderr = std.io.getStdErr();
|
||||
child.stdout = std.io.getStdOut();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue