Replies: 1 comment 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
Uh oh!
There was an error while loading. Please reload this page.
-
项目地址: https://github.com/hanxi/zig-build-lua
zig 支持了包管理,参考这个项目 https://github.com/brickBrackBro/lua 把工程里的 lua 源码清理了。zig 作为 makefile 的替代品真的很棒,关键是一次能编译多个平台的产物,这点很像 go, 简化了 c 跨平台编译的流程。
今天也学到了使用 rdynamic 来实现 -Wl,-E 的效果,也就是在可执行文件导出函数接口,直接加 -Wl,-E 是不生效的。
Beta Was this translation helpful? Give feedback.
All reactions