Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 87b5b982bd2a85a4d72e873d1d2b92a19569c206
      
https://github.com/WebKit/WebKit/commit/87b5b982bd2a85a4d72e873d1d2b92a19569c206
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M Tools/SwiftBrowser/Source/Views/BrowserView.swift

  Log Message:
  -----------
  [SwiftBrowser] Internal iOS builds are broken
https://bugs.webkit.org/show_bug.cgi?id=299404
rdar://161204348

Unreviewed build fix.

In this patch, we address this build failure:

```
SwiftCompile normal arm64 
/OpenSource/Tools/SwiftBrowser/Source/Views/BrowserView.swift (in target 
'SwiftBrowser' from project 'SwiftBrowser')
    cd /OpenSource/Tools/SwiftBrowser

/OpenSource/Tools/SwiftBrowser/Source/Views/BrowserView.swift:48:17: error: 
for-in loop uses unsafe constructs but is not marked with 'unsafe'
                for await _ in NotificationCenter.default.messages(of: 
UserDefaults.self, for: .didChange) {
                ^
                          unsafe
/OpenSource/Tools/SwiftBrowser/Source/Views/BrowserView.swift:48:17: note: 
reference to nonisolated(unsafe) var '$generator' is unsafe in 
concurrently-executing code
                for await _ in NotificationCenter.default.messages(of: 
UserDefaults.self, for: .didChange) {
```

... which is not actually an unsafe construct, but we have to work
around rdar://154775389 for now, check 300022@main for precedence.

* Tools/SwiftBrowser/Source/Views/BrowserView.swift:
(BrowserView.body):

Canonical link: https://commits.webkit.org/300434@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to