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.
2 parents 7970c56 + c2978dd commit 9900076Copy full SHA for 9900076
godot-codegen/src/special_cases/special_cases.rs
@@ -71,8 +71,9 @@ pub fn is_godot_type_deleted(godot_ty: &str) -> bool {
71
72
// OpenXR has not been available for macOS before 4.2.
73
// See e.g. https://github.com/GodotVR/godot-xr-tools/issues/479.
74
+ // OpenXR is also not available on iOS: https://github.com/godotengine/godot/blob/13ba673c42951fd7cfa6fd8a7f25ede7e9ad92bb/modules/openxr/config.py#L2
75
// Do not hardcode a list of OpenXR classes, as more may be added in future Godot versions; instead use prefix.
- #[cfg(all(before_api = "4.2", target_os = "macos"))]
76
+ #[cfg(any(all(before_api = "4.2", target_os = "macos"), target_os = "ios"))]
77
if godot_ty.starts_with("OpenXR") {
78
return true;
79
}
0 commit comments