Skip to content

Commit 834b7eb

Browse files
Be able to build with zig 0.14 (#1)
* Ignore new cache dir * Be able to build with latest zig * Update README
1 parent c3ab7e2 commit 834b7eb

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
zig-*
1+
.zig-cache
2+
zig-out
23
private
34
src/main.zig

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
- [x] Message
1111
- [x] Bundle
1212

13-
**Server**
14-
15-
- [ ] Methods
16-
- [ ] Dispatch
17-
- [ ] Pattern matching
18-
1913
## Build
2014

2115
See `zig build -h` for build options.

build.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ pub fn build(b: *std.Build) void {
66

77
const lib = b.addStaticLibrary(.{
88
.name = "zigosc",
9-
.root_source_file = .{ .path = "src/root.zig" },
9+
.root_source_file = b.path("src/root.zig"),
1010
.target = target,
1111
.optimize = optimize,
1212
});
1313

1414
b.installArtifact(lib);
1515

1616
const lib_unit_tests = b.addTest(.{
17-
.root_source_file = .{ .path = "src/root.zig" },
17+
.root_source_file = b.path("src/root.zig"),
1818
.target = target,
1919
.optimize = optimize,
2020
});

0 commit comments

Comments
 (0)