You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had a similar problem with a multi-crate setup. What worked for me was adding extern crate declarations for the plugin crates (IMPL1/IPML2 in your crates) to the consumer (LIB for you).
But after reading other threads for a while, it doesn't seem like this really should be necessary?
For example this issue seems to be a dupe of maybe both of these: which are marked closed + fixed: #7#9
Activity
korrat commentedon Dec 22, 2022
I've had a similar problem with a multi-crate setup. What worked for me was adding
extern cratedeclarations for the plugin crates (IMPL1/IPML2in your crates) to the consumer (LIBfor you).Does that work?
mrchantey commentedon Dec 26, 2024
extern cratedid not work for me, my workaround is to do the collecting seperately in each crate.rlabrecque commentedon Sep 2, 2025
Ran into this as well. Just having
use IMPL1/2;in the equivalent ofCLIsolved it, something like this should work:https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=ba8d7419eea633650a285e5e5ec7f3d3
But after reading other threads for a while, it doesn't seem like this really should be necessary?
For example this issue seems to be a dupe of maybe both of these: which are marked closed + fixed: #7 #9