Recommanded way to have multiple staticlib with corrosion #401
Replies: 4 comments
-
It's not a I've been thinking (but haven't had the time to implement) about adding an abstraction to Corrosion that does the following:
|
Beta Was this translation helpful? Give feedback.
-
Ok, have you ever integrated 2 libraries yet with a workaround? |
Beta Was this translation helpful? Give feedback.
-
I converted this to a discussion, to keep the issue tracker cleaner. Related, I found this blog post on the topic helpful: https://alanwu.space/post/symbol-hygiene/ I'm planning on adding some documentation in the |
Beta Was this translation helpful? Give feedback.
-
I guess the solution having everything |
Beta Was this translation helpful? Give feedback.
-
I have 2 crate that depends on
cxx
, when I try to create a project that link to the 2 of them, I get linking error, as symbols for cxx object are defined more than once.I've stumble across that: dtolnay/cxx#883
I'm unsure how to solve the problem in practice. I will investigate on my side, but has anyone sucessfully integrated 2 cxx crates using corrosion? Is there an example somewhere?
Beta Was this translation helpful? Give feedback.
All reactions