You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by ju...@apache.org on 2023/07/31 16:35:30 UTC
[incubator-opendal] branch bump/http updated: chore(core): fix zig build error
This is an automated email from the ASF dual-hosted git repository.
junouyang pushed a commit to branch bump/http
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/bump/http by this push:
new 9ada003cf chore(core): fix zig build error
9ada003cf is described below
commit 9ada003cffcbec03c34ba4adb221ebdb9200d623
Author: owl <ou...@gmail.com>
AuthorDate: Tue Aug 1 00:35:15 2023 +0800
chore(core): fix zig build error
---
bindings/zig/build.zig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bindings/zig/build.zig b/bindings/zig/build.zig
index dc5027fd4..82dd877c5 100644
--- a/bindings/zig/build.zig
+++ b/bindings/zig/build.zig
@@ -44,7 +44,7 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
});
- unit_tests.addIncludePath("../c/include");
+ unit_tests.addIncludePath(.{ .path = "../c/include" });
unit_tests.addModule("opendal", module(b));
if (optimize == .Debug) {
unit_tests.addLibraryPath("../../target/debug");