mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-27 16:59:56 +01:00
A `src/lib.rs` below another package's `src` folder was treated as a module whenever any declaration named it, including one in its own package's binary. Its `extern crate muda as m;` then did not reach its modules, and a `::m::PredefinedMenuItem::quit` call there was missed. Only a declaration outside the package's `build.rs` and its `src`, `tests`, `examples` and `benches` folders now makes it a module.