Upgrade to Zig 0.14.1

This commit is contained in:
Karl Seguin
2025-05-24 19:55:50 +08:00
parent 7cc332a96e
commit bcc4980189
5 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ inputs:
zig: zig:
description: 'Zig version to install' description: 'Zig version to install'
required: false required: false
default: '0.14.0' default: '0.14.1'
arch: arch:
description: 'CPU arch used to select the v8 lib' description: 'CPU arch used to select the v8 lib'
required: false required: false

View File

@@ -1,7 +1,7 @@
name: zig-fmt name: zig-fmt
env: env:
ZIG_VERSION: 0.14.0 ZIG_VERSION: 0.14.1
on: on:
pull_request: pull_request:

View File

@@ -1,10 +1,10 @@
FROM ubuntu:24.04 FROM ubuntu:24.04
ARG MINISIG=0.12 ARG MINISIG=0.12
ARG ZIG=0.14.0 ARG ZIG=0.14.1
ARG ZIG_MINISIG=RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U ARG ZIG_MINISIG=RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U
ARG ARCH=x86_64 ARG ARCH=x86_64
ARG V8=11.1.134 ARG V8=13.6.233.8
ARG ZIG_V8=v0.1.24 ARG ZIG_V8=v0.1.24
RUN apt-get update -yq && \ RUN apt-get update -yq && \

View File

@@ -148,7 +148,7 @@ You can also follow the progress of our Javascript support in our dedicated [zig
### Prerequisites ### Prerequisites
Lightpanda is written with [Zig](https://ziglang.org/) `0.14.0`. You have to Lightpanda is written with [Zig](https://ziglang.org/) `0.14.1`. You have to
install it with the right version in order to build the project. install it with the right version in order to build the project.
Lightpanda also depends on Lightpanda also depends on

View File

@@ -21,7 +21,7 @@ const builtin = @import("builtin");
/// Do not rename this constant. It is scanned by some scripts to determine /// Do not rename this constant. It is scanned by some scripts to determine
/// which zig version to install. /// which zig version to install.
const recommended_zig_version = "0.14.0"; const recommended_zig_version = "0.14.1";
pub fn build(b: *std.Build) !void { pub fn build(b: *std.Build) !void {
switch (comptime builtin.zig_version.order(std.SemanticVersion.parse(recommended_zig_version) catch unreachable)) { switch (comptime builtin.zig_version.order(std.SemanticVersion.parse(recommended_zig_version) catch unreachable)) {