We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffde86e commit 91c3b21Copy full SHA for 91c3b21
crates/bevy_derive/src/app_plugin.rs
@@ -8,7 +8,7 @@ pub fn derive_dynamic_plugin(input: TokenStream) -> TokenStream {
8
9
TokenStream::from(quote! {
10
#[no_mangle]
11
- pub extern "C" fn _bevy_create_plugin() -> *mut bevy::app::Plugin {
+ pub extern "C" fn _bevy_create_plugin() -> *mut dyn bevy::app::Plugin {
12
// make sure the constructor is the correct type.
13
let object = #struct_name {};
14
let boxed = Box::new(object);
0 commit comments