Replies: 1 comment 1 reply
-
There is an Even if maturin doesn't support it, you can still use |
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
-
We have some people that want to also use the library output we're creating in C and C++ without Python bindings. We'd like to also define those functions in the project and export them, which seems to work, but the end users have to link Python against the .so to resolve missing references to all the CPython functions that are referenced. We'd love to decouple that and include the core as a separate .so file, but can't figure out if that's even possible. Is it?
Yes, we could just make that separately and crate it. A nice mashup of technological and political limitations have us looking up clever alternatives. It isn't the end of the world, and I know it's kind of silly to be distributing a C library this way. Still, I figured I'd ask and see if there was some trick. We're pretty new to the Maturin and even Rust's own Cargo stuff, so maybe there is some magic to perpetuate the bad idea. ;)
Beta Was this translation helpful? Give feedback.
All reactions