Replies: 2 comments
-
I assume you mean in an architecture-specific precompiled rock? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can't deploy arbitrary non-Lua libraries. The only way to ship your compiled Go code in a rock would be to link it statically in a Lua/C module, but since this is an FFI library, you need to deploy your Go library via the usual method for your OS, and then deploy the pure-Lua FFI bindings as a Lua rock separately. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've written lua bindings for a go package using ffi which loads the shared object file generated by cgo. Is there a way to include that .so file in the rock itself, rather than having it in /lib/ directory?
Beta Was this translation helpful? Give feedback.
All reactions