Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
```
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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", .{});

Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading