We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build.zig.zon
.{ .name = "test_package", .version = "0.1.0", .dependencies = .{ .clap = .{ .url = "https://github.com/Hejsil/zig-clap/archive/refs/heads/master.tar.gz", .hash = "1220ec67bc0bab1c56c0787626b5d9229d504000b0b6dfd94df5934b1d398a7de8ba", }, }, }
section in build.zig
_ = b.dependency("clap", .{ .target = target, .optimize = optimize });
error
/home/user/.cache/zig/p/1220ec67bc0bab1c56c0787626b5d9229d504000b0b6dfd94df5934b1d398a7de8ba/build.zig:4:6: error: member function expected 2 argument(s), found 1 b.addModule(.{ .name = "clap", .source_file = .{ .path = "clap.zig" } }); ~^~~~~~~~~~
The text was updated successfully, but these errors were encountered:
I believe MR #95 fixes this. Can you give it another try?
Sorry, something went wrong.
No branches or pull requests
build.zig.zon
section in build.zig
error
The text was updated successfully, but these errors were encountered: