Skip to content

Commit

Permalink
Add #[inline(never)]
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGVSV committed Mar 4, 2024
1 parent e9faa79 commit a14793a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub(crate) fn impl_get_type_registration<'a>(

let type_deps_fn = type_dependencies.map(|deps| {
quote! {
#[inline(never)]
fn register_type_dependencies(registry: &mut #bevy_reflect_path::TypeRegistry) {
#(<#deps as #bevy_reflect_path::__macro_exports::RegisterForReflection>::__register(registry);)*
}
Expand Down

0 comments on commit a14793a

Please sign in to comment.