From 57e875a90f7944bfc45791438845218b97c02de7 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:15:59 +0200 Subject: [PATCH] upgrade to 0.13.0 --- .gitignore | 3 ++- build.zig | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 0b4957c..f27e682 100644 --- a/.gitignore +++ b/.gitignore @@ -9,10 +9,11 @@ # Cheers! # -andrewrk +.zig-cache/ zig-cache/ zig-out/ /release/ /debug/ /build/ /build-*/ -/docgen_tmp/ \ No newline at end of file +/docgen_tmp/ diff --git a/build.zig b/build.zig index 743e40a..511109e 100644 --- a/build.zig +++ b/build.zig @@ -5,20 +5,20 @@ pub fn build(b: *std.Build) !void { const optimize = b.standardOptimizeOption(.{}); const verkle_crypto_module = b.createModule(.{ - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = .{ .cwd_relative = "src/main.zig" }, }); try b.modules.put(b.dupe("verkle-crypto"), verkle_crypto_module); const lib = b.addStaticLibrary(.{ .name = "verkle-crypto", - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = .{ .cwd_relative = "src/main.zig" }, .target = target, .optimize = optimize, }); b.installArtifact(lib); const main_tests = b.addTest(.{ - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = .{ .cwd_relative = "src/main.zig" }, .target = target, .optimize = optimize, }); @@ -29,7 +29,7 @@ pub fn build(b: *std.Build) !void { const bench = b.addExecutable(.{ .name = "bench", - .root_source_file = .{ .path = "src/bench.zig" }, + .root_source_file = .{ .cwd_relative = "src/bench.zig" }, .target = target, .optimize = optimize, });