Skip to content

Commit

Permalink
Merge pull request #4 from gballet/upgrade-to-0.13.0
Browse files Browse the repository at this point in the history
upgrade to zig 0.13.0
  • Loading branch information
jsign authored Jun 10, 2024
2 parents 25c222d + 57e875a commit 1427714
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
# Cheers!
# -andrewrk

.zig-cache/
zig-cache/
zig-out/
/release/
/debug/
/build/
/build-*/
/docgen_tmp/
/docgen_tmp/
8 changes: 4 additions & 4 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand All @@ -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,
});
Expand Down

0 comments on commit 1427714

Please sign in to comment.