engineering/package_management #120
Replies: 4 comments 6 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' |
|
这个包导入有些麻烦呀 |
|
.name = .importer, |
|
补充一下: 在
而 校验和 的计算 与
所以当你想改
报错信息 会告诉你。 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
engineering/package_management
简单、快速地学习 Zig,ziglang中文教程,zig中文教程
https://course.ziglang.cc/engineering/package_management
All reactions