Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7e93e3efdde45416d53639958ae522367bd2f4bd
      
https://github.com/WebKit/WebKit/commit/7e93e3efdde45416d53639958ae522367bd2f4bd
  Author: Adrian Taylor <adrian_tay...@apple.com>
  Date:   2025-09-12 (Fri, 12 Sep 2025)

  Changed paths:
    M Configurations/CommonBase.xcconfig
    M Source/WebGPU/Configurations/WebGPU.xcconfig
    M Source/WebKit/Configurations/WebKit.xcconfig
    M Tools/SwiftBrowser/Source/Views/ContentView.swift
    M Tools/TestWebKitAPI/TestPDFDocument.swift
    M Tools/TestWebKitAPI/Tests/WebKit Swift/Foundation+Extras.swift
    M Tools/TestWebKitAPI/Tests/WebKit Swift/URLSchemeHandlerTests.swift
    M Tools/TestWebKitAPI/Tests/WebKit Swift/WebPageNavigationTests.swift

  Log Message:
  -----------
  Broaden Swift memory safety to all of WebKit
https://bugs.webkit.org/show_bug.cgi?id=297589
rdar://158673557

Reviewed by Mike Wyrzykowski and Elliott Williams

This moves the Strict Memory Safety Swift compiler flag from WebKit.xcconfig to
an alternative config file that applies to nearly all WebKit targets.

It also broadens the set of flags we use to match those that WebGPU has
determined to be best.

This is the second attempt to land this change. The first one ran into an error
in older versions of the Swift @Test macro where it emitted unsafe code
(rdar://151238560). As it happens, WebKit's continuous integration
infrastructure already has a fix for that in place, but that fix isn't
being picked up due to some other problem where Swift is sometimes
using an older version of the macro dylib (rdar://159858481). This needs
to be resolved before we land this commit again. But, those problems
are unrelated to the content of this commit so it's identical to what
we landed last time.

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



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

Reply via email to