CXX Bridge Question (problem with dependency cycle) #489
-
Hey! 👋 C++/Rust interop newbie here. I am experimenting to make functionality from a C++ library available in Rust (e.g. to write a HTTP API for the C++ code in Rust). This works fine so far. However, I guess I made a mistake since I needed to manually copy the
The full change set is here: Is this basically the right way? I would have liked to pull in the How can I get writ of this cycle and have a codebase that's free of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Figured it out based on this test: I think it would be helpful to add a link in the book. |
Beta Was this translation helpful? Give feedback.
Figured it out based on this test:
https://github.com/corrosion-rs/corrosion/blob/master/test/cxxbridge/cxxbridge_cpp2rust/CMakeLists.txt
I think it would be helpful to add a link in the book.