Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a761c97f806edc2211635d9f812a1454b269445d
      
https://github.com/WebKit/WebKit/commit/a761c97f806edc2211635d9f812a1454b269445d
  Author: John James Jacoby <[email protected]>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M CMakeLists.txt
    M Source/cmake/WebKitMacros.cmake
    M Tools/CISupport/built-product-archive
    M Tools/CISupport/built_product_archive_unittest.py

  Log Message:
  -----------
  [Win][CMake] Use the configured Swift runtime when archiving

https://bugs.webkit.org/show_bug.cgi?id=323228

Reviewed by Adrian Taylor.

CMake already knows whether Swift is required and which compiler and target the 
build uses. Query Swift target information once, select the installed runtime 
bin directory, and write it into the build directory for built-product-archive 
to consume.

This avoids duplicating the set of Swift features in the packaging script, 
prevents it from finding an unrelated swiftc through PATH, and provides 
targeted failures for malformed target information or marker-copy errors. 
Packaging tests cover missing, empty, and UTF-8 marker paths, DLL selection and 
conflicts, and Swift-disabled archives.

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



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

Reply via email to