We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1e3529 commit 43f1a00Copy full SHA for 43f1a00
crates/bevy_api_gen/src/modifying_file_loader.rs
@@ -23,10 +23,10 @@ impl FileLoader for ModifyingFileLoader {
23
RealFileLoader.read_file(path).map(|mut f| {
24
// we make it pub so in case we are re-exporting this crate we won't run into private re-export issues
25
if !f.contains("pub extern crate mlua") {
26
- f.push_str("#[allow(unused_extern_crates)] extern crate mlua;");
+ f.push_str("#[allow(unused_extern_crates)] pub extern crate mlua;");
27
}
28
if !f.contains("pub extern crate bevy_reflect") {
29
- f.push_str("#[allow(unused_extern_crates)] extern crate bevy_reflect;");
+ f.push_str("#[allow(unused_extern_crates)] pub extern crate bevy_reflect;");
30
31
f
32
})
0 commit comments