1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

Update build.zig for Zig 0.14.0

This commit is contained in:
sea-grass 2025-04-21 09:01:09 -04:00
parent 07c592ee18
commit 236d995ce5
4 changed files with 7 additions and 6 deletions

View file

@ -19,7 +19,7 @@ pub fn build(b: *std.Build) !void {
break :blk false;
};
const facilio = b.dependency("facil.io", .{
const facil_io = b.dependency("facil_io", .{
.target = target,
.optimize = optimize,
.use_openssl = use_openssl,
@ -30,7 +30,7 @@ pub fn build(b: *std.Build) !void {
.target = target,
.optimize = optimize,
});
zap_module.linkLibrary(facilio.artifact("facil.io"));
zap_module.linkLibrary(facil_io.artifact("facil.io"));
const all_step = b.step("all", "build all examples");

View file

@ -2,7 +2,7 @@
.name = .zap,
.version = "0.9.1",
.dependencies = .{
.@"facil.io" = .{
.facil_io = .{
.path = "./facil.io",
},
},

View file

@ -5,7 +5,7 @@ pub fn build(b: *std.Build) !void {
const optimize = b.standardOptimizeOption(.{});
const use_openssl = b.option(bool, "use_openssl", "Use OpenSSL") orelse false;
const upstream = b.dependency("facil.io", .{ .target = target, .optimize = optimize });
const upstream = b.dependency("upstream", .{ .target = target, .optimize = optimize });
const lib = try build_facilio(b, upstream, target, optimize, use_openssl);

View file

@ -1,8 +1,8 @@
.{
.name = "facil.io",
.name = .facil_io,
.version = "0.0.12",
.dependencies = .{
.@"facil.io" = .{
.upstream = .{
.url = "git+https://github.com/boazsegev/facil.io#512a354dbd31e1895647df852d1565f9d408ed91",
.hash = "12203c234c0e07604235162ef65bcffa6396f1b77da66810f31e08573a777e97f63d",
},
@ -12,4 +12,5 @@
"build.zig.zon",
"src",
},
.fingerprint = 0x3b07d4dd92035426,
}