Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

workaround Xcode 15.4 bug with swift build --arch x86_64 --arch arm64 #2945

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Sources/NIOCore/NIOScheduledCallback.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ public struct NIOScheduledCallback: Sendable {

extension EventLoop {
@preconcurrency
package func _scheduleCallback(
/// This method is not part of the public API
///
/// Should use `package` not `public` but then it won't compile in
/// Xcode 15.4 if you run `swift build --arch x86_64 --arch arm64`.
public func _scheduleCallback(
at deadline: NIODeadline,
handler: some (NIOScheduledCallbackHandler & Sendable)
) -> NIOScheduledCallback {
Expand Down
Loading