diff --git a/README.md b/README.md index 148101b..54938f2 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ const boringssl_dependency = b.dependency("boringssl", .{ .target = target, .optimize = optimize, }); -your_module.linkLibrary(boringssl_dependency.artifact("bcm")); your_module.linkLibrary(boringssl_dependency.artifact("ssl")); your_module.linkLibrary(boringssl_dependency.artifact("crypto")); ``` @@ -71,4 +70,4 @@ At the moment only x86_64-windows-gnu is functional. MSVC doesn't work! GNU doesn't seem an official target by boringssl for windows which is why we need the [patch](patches/p256_gnuc.patch). ### Zig Version -The target zig version is 0.16.0 +The target zig version is 0.17.0 diff --git a/build.zig b/build.zig index 9c9e868..9d77bab 100644 --- a/build.zig +++ b/build.zig @@ -118,7 +118,7 @@ pub fn build(b: *std.Build) !void { const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); - const build_root = b.build_root.handle; + const build_root = b.root.root_dir.handle; const upstream = b.dependency("boringssl", .{}); @@ -145,7 +145,7 @@ pub fn build(b: *std.Build) !void { const io = b.graph.io; // Grab the sources.json which tells us what to build - const source_content = upstream.builder.build_root.handle.readFileAlloc( + const source_content = upstream.builder.root.root_dir.handle.readFileAlloc( io, "gen/sources.json", b.allocator, diff --git a/build.zig.zon b/build.zig.zon index 506389a..be1cf3b 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -2,7 +2,7 @@ .name = .boringssl, .version = "0.20260526.0", .fingerprint = 0x5f0947d235641b12, - .minimum_zig_version = "0.16.0", + .minimum_zig_version = "0.17.0", .dependencies = .{ .boringssl = .{ .url = "https://github.com/google/boringssl/archive/190fa71435c8675b80d7883e5d01858db4c91180.tar.gz",