There was an error while loading. Please reload this page.
1 parent 2345160 commit 0384071Copy full SHA for 0384071
1 file changed
crates/core/wde-renderer/macros/src/manifest.rs
@@ -99,9 +99,9 @@ impl WdeManifest {
99
};
100
101
let mut path = Self::parse_str::<syn::Path>(&format!("::{package}"));
102
- if let Some(module) = name.strip_prefix("bevy_") {
103
- path.segments.push(Self::parse_str(module));
104
- }
+ // `wde` re-exports its sub-crates verbatim (e.g. `pub use wde_renderer;`),
+ // so the submodule segment is the full dependency name, not a stripped suffix.
+ path.segments.push(Self::parse_str(name));
105
Some(path)
106
107
0 commit comments