Skip to content

Commit e1c7b20

Browse files
committed
Fix available! macro when running in "Designed for iPad" mode
Based on findings in rust-lang/rust#138944, we were previously incorrectly falling back to the product version of the host system.
1 parent 7c124e7 commit e1c7b20

File tree

2 files changed

+388
-127
lines changed

2 files changed

+388
-127
lines changed

crates/objc2/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1313

1414
## Fixed
1515
* Fixed undefined behaviour when calling `AnyObject::class` on invalid objects.
16+
* Fixed `available!` macro when running under Xcode's "Designed for iPad" setting.
1617

1718

1819
## 0.6.0 - 2025-01-22

0 commit comments

Comments
 (0)