advanced/package_management #120
Replies: 2 comments 2 replies
-
最新的0.12 ,添加 httpz ,不成功! const dep_opts = .{ .target = target, .optimize = optimize };
const httpz = b.dependency("httpz", dep_opts).module("httpz");
exe.addModule("httpz", httpz);
// This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default
// step when running `zig build`).
b.installArtifact(exe); 报错:error: no field or member function named 'addModule' in 'Build.Step.Compile' |
Beta Was this translation helpful? Give feedback.
1 reply
-
这个包导入有些麻烦呀 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
advanced/package_management
简单、快速地学习 Zig,ziglang中文教程,zig中文教程
https://course.ziglang.cc/advanced/package_management
Beta Was this translation helpful? Give feedback.
All reactions