Skip to content

Commit f04c88c

Browse files
committed
Fix build errors
1 parent fb05ad4 commit f04c88c

File tree

4 files changed

+16
-24
lines changed

4 files changed

+16
-24
lines changed

crates/header-translator/translation-config.toml

+13-21
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ tvos = "13.0"
8080
[library.BusinessChat]
8181
imports = ["AppKit", "Foundation"]
8282
macos = "10.14"
83-
maccatalyst = "13.0" # Unsure
84-
ios = "11.0" # Unsure
83+
maccatalyst = "13.0" # Unsure
84+
ios = "11.0" # Unsure
8585

8686
[library.CallKit]
8787
imports = ["Foundation"]
@@ -98,9 +98,7 @@ ios = "11.4"
9898

9999
[library.CloudKit]
100100
imports = ["CoreLocation", "Foundation"]
101-
extra-features = [
102-
"CloudKit_CKShare",
103-
]
101+
extra-features = ["CloudKit_CKShare"]
104102
macos = "10.10"
105103
maccatalyst = "13.0"
106104
ios = "8.0"
@@ -126,11 +124,9 @@ watchos = "2.0"
126124

127125
[library.CoreLocation]
128126
imports = ["Contacts", "Foundation"]
129-
extra-features = [
130-
"CoreLocation_CLPlacemark",
131-
]
127+
extra-features = ["CoreLocation_CLPlacemark"]
132128
# macos = "10.6"
133-
macos = "10.11" # Temporarily raised since `CoreLocation` imports `Contacts`
129+
macos = "10.11" # Temporarily raised since `CoreLocation` imports `Contacts`
134130
maccatalyst = "13.0"
135131
ios = "2.0"
136132
tvos = "9.0"
@@ -154,9 +150,7 @@ watchos = "9.0"
154150

155151
[library.EventKit]
156152
imports = ["AppKit", "CoreLocation", "Foundation", "MapKit"]
157-
extra-features = [
158-
"EventKit_EKEvent",
159-
]
153+
extra-features = ["EventKit_EKEvent"]
160154
macos = "10.8"
161155
maccatalyst = "13.0"
162156
ios = "4.0"
@@ -237,9 +231,7 @@ tvos = "9.0"
237231

238232
[library.GameKit]
239233
imports = ["AppKit", "Foundation"]
240-
extra-features = [
241-
"AppKit_NSViewController",
242-
]
234+
extra-features = ["AppKit_NSViewController"]
243235
macos = "10.8"
244236
maccatalyst = "13.0"
245237
ios = "3.0"
@@ -273,9 +265,7 @@ watchos = "9.0"
273265

274266
[library.LocalAuthenticationEmbeddedUI]
275267
imports = ["AppKit", "Foundation", "LocalAuthentication"]
276-
extra-features = [
277-
"AppKit_NSWindow",
278-
]
268+
extra-features = ["AppKit_NSWindow"]
279269
macos = "12.0"
280270
maccatalyst = "16.0"
281271
ios = "16.0"
@@ -389,9 +379,7 @@ watchos = "6.2"
389379

390380
[library.UniformTypeIdentifiers]
391381
imports = ["Foundation"]
392-
extra-features = [
393-
"UniformTypeIdentifiers_UTType",
394-
]
382+
extra-features = ["UniformTypeIdentifiers_UTType"]
395383
macos = "11.0"
396384
maccatalyst = "14.0"
397385
ios = "14.0"
@@ -1229,6 +1217,10 @@ skipped = true
12291217
skipped = true
12301218
[class.MPAdTimeRange.methods.setTimeRange]
12311219
skipped = true
1220+
# Uses LocalAuthentication framework
1221+
[protocol.ASAuthorizationWebBrowserExternallyAuthenticatableRequest.methods]
1222+
authenticatedContext = { skipped = true }
1223+
setAuthenticatedContext = { skipped = true }
12321224

12331225
# Uses a pointer to SEL, which doesn't implement Encode yet
12341226
[protocol.NSMenuDelegate.methods]

crates/icrate/src/generated

crates/icrate/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ pub mod UserNotifications;
149149
#[cfg(feature = "WebKit")]
150150
pub mod WebKit;
151151

152-
/// Deprecated alias of [`Foundation::ns_string`][crate::Foundation::ns_string].
152+
/// Deprecated alias of [`Foundation::ns_string`].
153153
#[macro_export]
154154
#[deprecated = "use icrate::Foundation::ns_string instead"]
155155
#[cfg(feature = "Foundation_NSString")]

crates/objc2/src/message/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ unsafe impl<'a> MessageReceiver for &'a AnyClass {
482482
/// Types that may be used as the arguments of an Objective-C message.
483483
///
484484
/// This is implemented for tuples of up to 16 arguments, where each argument
485-
/// implements [`Encode`][crate::Encode] (or can be converted from one).
485+
/// implements [`Encode`] (or can be converted from one).
486486
///
487487
///
488488
/// # Safety

0 commit comments

Comments
 (0)