File tree Expand file tree Collapse file tree
common/src/main/rust/rapier/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ pub extern "system" fn Java_dev_ryanhcode_sable_physics_impl_rapier_Rapier3D_add
494494 handle_long
495495}
496496
497- #[ no_mangle]
497+ #[ unsafe ( no_mangle) ]
498498pub extern "system" fn Java_dev_ryanhcode_sable_physics_impl_rapier_Rapier3D_addGenericConstraint <
499499 ' local ,
500500> (
@@ -595,7 +595,7 @@ pub extern "system" fn Java_dev_ryanhcode_sable_physics_impl_rapier_Rapier3D_add
595595 handle_long
596596}
597597
598- #[ no_mangle]
598+ #[ unsafe ( no_mangle) ]
599599pub extern "system" fn Java_dev_ryanhcode_sable_physics_impl_rapier_Rapier3D_setConstraintFrame <
600600 ' local ,
601601> (
@@ -634,6 +634,6 @@ pub extern "system" fn Java_dev_ryanhcode_sable_physics_impl_rapier_Rapier3D_set
634634 joint. pos_b = position;
635635 joint. rotation_b = Some ( rotation) ;
636636 }
637- _ => panic ! ( "Invalid constraint frame side: {}" , side)
637+ _ => panic ! ( "Invalid constraint frame side: {}" , side) ,
638638 }
639639}
You can’t perform that action at this time.
0 commit comments