Skip to content

Commit f7e0d7c

Browse files
committed
upgrade to 0.12.1
1 parent 0c99cf2 commit f7e0d7c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- arch: x86_64
2323
os: linux
2424
build_arch: amd64
25-
zig_docker_version: 0.12.0-dev.3518-d2be725e4
25+
zig_docker_version: 0.12.1
2626
name: build-release
2727
runs-on: ubuntu-latest
2828
permissions:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This dockerfile is used to build v8.
2-
ARG ZIG_DOCKER_VERSION=0.12.0-dev.3518+d2be725e4
2+
ARG ZIG_DOCKER_VERSION=0.12.1
33
FROM ghcr.io/lightpanda-io/zig:${ZIG_DOCKER_VERSION} as build
44

55
ARG OS=linux

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Static libs are built and released with [Github Actions](https://github.com/fuba
2424
\* Time is measured on standard Github instances.
2525

2626
## System Requirements
27-
- Zig compiler (0.12.0). You can get that [here](https://ziglang.org/download/).
27+
- Zig compiler (0.12.1). You can get that [here](https://ziglang.org/download/).
2828
- Python 3 (2.7 seems to work as well)
2929
- For native macOS builds:
3030
- XCode (You won't need this when using zig's c++ toolchain!)<br/>

build.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ const MakePathStep = struct {
444444

445445
fn make(step: *Step, prog_node: *std.Progress.Node) anyerror!void {
446446
_ = prog_node;
447-
const self = @fieldParentPtr(Self, "step", step);
447+
const self: *Self = @fieldParentPtr("step", step);
448448
try std.fs.cwd().makePath(self.b.pathFromRoot(self.path));
449449
}
450450
};
@@ -475,7 +475,7 @@ const CopyFileStep = struct {
475475

476476
fn make(step: *Step, prog_node: *std.Progress.Node) anyerror!void {
477477
_ = prog_node;
478-
const self = @fieldParentPtr(Self, "step", step);
478+
const self: *Self = @fieldParentPtr("step", step);
479479
try std.fs.copyFileAbsolute(self.src_path, self.dst_path, .{});
480480
}
481481
};
@@ -644,7 +644,7 @@ pub const GetV8SourceStep = struct {
644644

645645
fn make(step: *Step, prog_node: *std.Progress.Node) anyerror!void {
646646
_ = prog_node;
647-
const self = @fieldParentPtr(Self, "step", step);
647+
const self: *Self = @fieldParentPtr("step", step);
648648

649649
// Pull the minimum source we need by looking at DEPS.
650650
// TODO: Check if we have the right branches, otherwise reclone.

0 commit comments

Comments
 (0)