mirror of
https://github.com/webui-dev/webui
synced 2025-03-28 21:13:17 +00:00
break change: support zig 0.14.0
Since then, 0.13.0 and previous versions cannot be supported
This commit is contained in:
parent
72039fa0ca
commit
70b6689106
2
.github/workflows/zig.yml
vendored
2
.github/workflows/zig.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
version: [0.12.0, 0.13.0, '']
|
||||
version: [0.14.0, '']
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
@ -7,7 +7,6 @@ const Compile = Build.Step.Compile;
|
||||
const Module = Build.Module;
|
||||
|
||||
const lib_name = "webui";
|
||||
const zig_ver = builtin.zig_version.minor;
|
||||
var global_log_level: std.log.Level = .warn;
|
||||
|
||||
/// Vendored dependencies of webui.
|
||||
@ -22,11 +21,6 @@ pub fn build(b: *Build) !void {
|
||||
const target = b.standardTargetOptions(.{});
|
||||
const optimize = b.standardOptimizeOption(.{});
|
||||
|
||||
switch (comptime zig_ver) {
|
||||
12, 13, 14 => {},
|
||||
else => return error.UnsupportedZigVersion,
|
||||
}
|
||||
|
||||
const is_dynamic = b.option(bool, "dynamic", "build the dynamic library") orelse false;
|
||||
const enable_tls = b.option(bool, "enable-tls", "enable TLS support") orelse false;
|
||||
const verbose = b.option(std.log.Level, "verbose", "set verbose output") orelse .warn;
|
||||
|
@ -1,6 +1,7 @@
|
||||
.{
|
||||
.name = "webui",
|
||||
.name = .webui,
|
||||
.version = "2.5.0-beta.3",
|
||||
.fingerprint = 0xac5d87f2e5831aa7,
|
||||
.paths = .{
|
||||
"src",
|
||||
"include",
|
||||
|
Loading…
x
Reference in New Issue
Block a user