You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
973: Make ptrcalls opt-in r=chitoyuu a=chitoyuu
This implements cuddlefishie's suggestion in #814, but with the semantics reversed to better conform with Cargo's additive combination of features.
- Added the new feature flag `ptrcall`, which enables performant API calls at the cost of forward binary compatibility with the engine.
- Added tests with and without the feature to the full CI suite.
I believe the current semantics to be better, since by making the safer option the default, it helps reduce the surprise factor when someone tries to use the crate with a supposedly compatible version of Godot. Different opinions are welcome.
Note that this only addresses binary compatibility -- #814 is also in a large part an API problem.
Co-authored-by: Chitose Yuuzaki <chitoyuu@potatoes.gay>
0 commit comments