[webkit-changes] [WebKit/WebKit] 42d47c: [WebKit] Use Swift 6 mode when available

Elliott Williams noreply at github.com
Mon Dec 9 14:39:05 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42d47cfaca61157e65347a239202df395db1333f
      https://github.com/WebKit/WebKit/commit/42d47cfaca61157e65347a239202df395db1333f
  Author: Elliott Williams <emw at apple.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M Configurations/WebKitTargetConditionals.xcconfig
    M Source/WebKit/Configurations/Base.xcconfig

  Log Message:
  -----------
  [WebKit] Use Swift 6 mode when available
https://bugs.webkit.org/show_bug.cgi?id=282452
rdar://139084268

Reviewed by Richard Robinson.

On toolchains where Swift 6 is available, use it in WebKit.

* Configurations/WebKitTargetConditionals.xcconfig: Add $(WK_XCODE_16)
  conditions to determine whether we're buliding on a toolchain with
  Swift 6. Even in internal builds, we don't use Xcode 16 with a
  pre-2024 OS toolchain.
* Source/WebKit/Configurations/Base.xcconfig: Move some now-obsolete
  compiler flags to a pre-Swift 6 branch.

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list