Skip to content

Multiple Rust modules with "cargo test" (minimal example included) #1014

Answered by ahayzen-kdab
SanderVocke asked this question in Q&A
Discussion options

You must be logged in to vote

It could be that both modules are outputting to the same header file?

Could you try using cxx_file_stem to specify different files in the bridge macro?

See the book for more info https://kdab.github.io/cxx-qt/book/bridge/index.html#cxx_file_stem

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@LeonMatthesKDAB
Comment options

@LeonMatthesKDAB
Comment options

@ahayzen-kdab
Comment options

@SanderVocke
Comment options

@SanderVocke
Comment options

Answer selected by SanderVocke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants