I'm trying to register submits from different modules, and it only works at the top level. Am I missing something?
inventory::submit! {
OcamlFunc::new("something") # this works
}
pub mod inside_mod {
inventory::submit! {
super::OcamlFunc::new("something_else") # this doesn't appear in the iter
}
}
Hey @dtolnay, thanks a lot for this crate.
I'm trying to register submits from different modules, and it only works at the top level. Am I missing something?