From 3097adb6e00ffceb3e6bdca4ced90d20361fe351 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Fri, 4 Aug 2023 09:19:40 -0700 Subject: [PATCH] upgrade to zig 0.11 release --- .gitea/workflows/build.yaml | 2 +- README.md | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 0eae737..fcae554 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -4,7 +4,7 @@ on: [push] env: ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }} ACTIONS_RUNTIME_URL: https://git.lerch.org/api/actions_pipeline/ - ZIG_URL: https://mirror.bazel.build/ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3886+0c1bfe271.tar.xz + ZIG_URL: https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz BUILD_TARGET: x86_64-linux-gnu # Needs to be gnu since we're using dlopen BUILD_OPTIMIZATION: ReleaseSafe # Safety is usually a good thing jobs: diff --git a/README.md b/README.md index 4fa3f6f..d63b5f4 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,7 @@ This library assumes the use of Linux as a host. While the primary engine is not tied to Linux, the file watcher module uses inotify and friends and will not work outside that OS. PRs are welcome. -The system is built with a pre-release version of zig, currently zig version -[0.11.0-dev.3886+0c1bfe271](https://github.com/marler8997/zig-unofficial-releases#0110-dev38860c1bfe271-summary). -This version has web server in the standard library, so it is useful. +The system is zig version [0.11](https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz). To achieve the lowest latency possible, this server loads dynamic libraries using [dlopen(3)](https://linux.die.net/man/3/dlopen) based on a configuration