Skip to content

Releases: swiftlang/swift-driver

Swift 6.2.4 Release

27 Feb 19:37
aedacc6

Choose a tag to compare

Swift 6.2.3 Release

27 Feb 19:36
aedacc6

Choose a tag to compare

What's Changed

  • [6.2][wasm] Pass --table-base to linker to reserve low function addresses by @kateinoigakukun in #1988
  • 6.2: Update testExecutableFallbackPath to pass on all platforms by @MaxDesiatov in #2037

Full Changelog: swift-6.2.2-RELEASE...swift-6.2.3-RELEASE

Swift 6.2.2 Release

27 Feb 19:36
8a72363

Choose a tag to compare

Swift 6.2.1 Release

27 Feb 19:35
8a72363

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: swift-6.2-RELEASE...swift-6.2.1-RELEASE

Swift 6.2 Release

27 Feb 19:35

Choose a tag to compare

What's Changed

  • [Explicit Module Builds][Incremental Builds] Treat binary Swift module explicit dependencies as always up-to-date by @artemcm in #1733
  • Update Yams version to fix Android build by @jakepetroules in #1731
  • [Dependency Scanning] Deprecate/Remove batch scanning capability by @artemcm in #1735
  • Exclude .autolink files from static linking on WebAssembly by @kateinoigakukun in #1736
  • [Explicit Module Builds] Always filter out up-to-date module dependencies from execution by @artemcm in #1734
  • [cxx-interop] Handle different interop compat versions by @egorzhdan in #1739
  • SwiftDriverTests: repair the tests on Darwin by @compnerd in #1742
  • swift-driver: correct the legacy driver path construction by @compnerd in #1741
  • Revert "swift-driver: correct the legacy driver path construction" by @tshortli in #1744
  • [Dependency Scanning] Deprecate/Remove inter-module dependency graph serialization SwiftScan API uses by @artemcm in #1738
  • SwiftDriver: adjust handling of -resource-dir parameter by @compnerd in #1743
  • Revert "Revert "swift-driver: correct the legacy driver path construction"" by @compnerd in #1746
  • [cxx-interop] Do not emit C++ interop flag in textual interfaces by @egorzhdan in #1737
  • swift-driver: adjust the path computation for the legacy driver by @compnerd in #1750
  • [Tests] Overwrite module cache path for swift caching tests by @cachemeifyoucan in #1759
  • Tests: remove some debugging code by @compnerd in #1757
  • Add new flag -sil-ownership-verify-all by @meg-gupta in #1758
  • Fix the legacy driver path construction on non-Windows platforms by @kateinoigakukun in #1756
  • swift-driver: Driver support for SamplePGO by @kavon in #1753
  • Tests: introduce and partially adopt a command line test helper by @compnerd in #1755
  • Windows: simplify the linker invocation for Windows by @compnerd in #1754
  • Revert "Windows: simplify the linker invocation for Windows" by @plemarquand in #1761
  • Tests: disable verbosity in the tests by @compnerd in #1760
  • Reapply "Windows: simplify the linker invocation for Windows" by @compnerd in #1762
  • Tests: various changes to clean up the swift-driver test suite (NFC) by @compnerd in #1763
  • Update some uses of ProcessEnv.vars to ProcessEnv.block by @compnerd in #1764
  • Jobs: adjust swift module wrapping job (NFC) by @compnerd in #1766
  • Tests: remove some invalid tests by @compnerd in #1768
  • SwiftDriver: silence deprecation warnings on Windows by @compnerd in #1772
  • SwiftDriver: honour SWIFT_DRIVER_SWIFTSCAN_LIB on Windows by @compnerd in #1767
  • Tests: further cleanups by @compnerd in #1765
  • Tests: avoid forming an in-place driver job by @compnerd in #1769
  • Remove error for invalid swift caching configuration by @cachemeifyoucan in #1775
  • Obselete -disable-incremental-imports setting by @owenv in #1778
  • Add support for load-pass-plugin option by @antoniofrighetto in #1472
  • Consistently use JSON when encoding output file maps by @owenv in #1777
  • Tests: repair the test suite on Windows by @compnerd in #1774
  • Toolchains: disable xcrun commands on non-Darwin platforms by @compnerd in #1780
  • libclang_rt.profile*.a search path should use osNameUnversioned by @michael-yuji in #1773
  • Remove now-unused yaml parser dependency by @owenv in #1779
  • [Options] Update options. by @al45tair in #1781
  • build: add additional target exports by @compnerd in #1782
  • Emit supplemental outputs for the target variant by @etcwilde in #1770
  • SwiftDriverTests: repair the tests on Windows by @compnerd in #1783
  • SwiftDriverTests: adjust the windows expectations by @compnerd in #1785
  • build: tweak FetchContent usage to follow best practices by @compnerd in #1784
  • [Dependency Scanning] Remove references to per-triple PCM variant compilation by @artemcm in #1788
  • [Caching] Invalidate built module if missing from CAS by @cachemeifyoucan in #1789
  • Consistently use canImport(Darwin) throughout the codebase by @jakepetroules in #1791
  • Deprecate -embed-bitcode functionality by @artemcm in #1793
  • [NFC] Remove a redundant return statement by @cachemeifyoucan in #1794
  • Enable PACBTI on OpenBSD/arm64. by @3405691582 in #1792
  • [GeneratePCH] Don't assert when libSwiftScan is not initialized by @cachemeifyoucan in #1795
  • Add support for -disable-dynamic-actor-isolation by @xedin in #1796
  • [Incremental Builds][Explicit Module Builds] Switch to using incremental dependency scanning by @artemcm in #1786
  • Pass the -dump-ast-format flag down to the frontend. by @allevato in #1722
  • Skip testLinkFilelistWithDebugInfo off of macOS by @etcwilde in #1802
  • [BridgingHeader] Support automatic bridging header chaining by @cachemeifyoucan in #1787
  • [Test] Allow for diagnostic verifier to expect an alternative diagnostic by @artemcm in #1800
  • Darwin: fix target variant flag when building zippered libraries by @edymtt in #1803
  • Fix newly-introduced tests for non-Darwin platforms to account for additional autolink-extract job by @artemcm in #1806
  • Exclude swift-autolink-extractor no-op job for embedded Wasm by @MaxDesiatov in #1801
  • [BridgingHeader] Pass bridging header chaining flag for all jobs by @cachemeifyoucan in #1808
  • [Test Only] Add a sleep to 'testInputModifiedDuringSingleJobBuild' to accomodate filesystems with insufficient timestamp precision by @artemcm in #1810
  • SwiftDriver: enable -sanitize= on Windows selectively by @compnerd in #1804
  • Tests: reduce enabled tests on Linux by @compnerd in #1814
  • Revert #1804 by @tshortli in #1816
  • [Unix] Use the new -sysroot flag for all non-Darwin Unix platforms, not just Android by @finagolfin in #1811
  • SwiftDriver: enable -sanitize= on Windows selectively by @compnerd in #1817
  • [Tests] Fix another early termination in tests by @cachemeifyoucan in #1812
  • Packaging: Support using Tools Support Core dylib by @bkhouri in #1805
  • [SDK Support] Make sure to look in swift_static rather than just swift. by @al45tair in #1820
  • [SE-0458] Pass -strict-memory-safety through to the frontend by @DougGregor in #1823
  • Rename env var with more accurate name by @bkhouri in #1824
  • SwiftDriver performance fixes for swift caching by @cachemeifyoucan in #1825
  • Revert "[Planning] Avoid batching compile job twice" by @owenv in #1826
  • Re-land [Planning] Avoid batching compile job twice by @cachemeifyoucan in #1829
  • Update org URLs for swift-llbuild & swi...
Read more

Swift 6.1.3 Release

27 Feb 19:34

Choose a tag to compare

Swift 6.1.2 Release

27 Feb 19:34

Choose a tag to compare

What's Changed

  • [6.1] Fix newly-introduced tests for non-Darwin platforms to account for additional autolink-extract job by @artemcm in #1830

Full Changelog: swift-6.1.1-RELEASE...swift-6.1.2-RELEASE

Swift 6.1.1 Release

24 May 08:05
a7f8f9f

Choose a tag to compare

Swift 6.1 Release

01 Apr 08:15
a7f8f9f

Choose a tag to compare

What's Changed

  • [ExplicitModule] Support direct cc1 flag for all explicit module build job by @cachemeifyoucan in #1550
  • [BridgingHeader] Provide a deterministic unique pch file path by @cachemeifyoucan in #1567
  • [ExplicitModuleBuilds][NFC] Remove lazy module loading check in explicit module tests by @artemcm in #1569
  • Always apply working-directory in the swift-driver by @cachemeifyoucan in #1568
  • Stop adding '-external-plugin-path' to SDK directories by @rintaro in #1573
  • build: add the ability to build tools with CMake by @compnerd in #1564
  • [Explicit Module Builds] Specify which Clang module dependencies are bridging header dependencies by @artemcm in #1571
  • [Explicit Module Builds] When '-explain-module-dependency' encounters the target Swift module, continue enumerating other possible paths by @artemcm in #1565
  • Implement basic xtensa architecture triple parsing by @MaxDesiatov in #1576
  • Support for binary module validation in scanner by @cachemeifyoucan in #1563
  • Introduce visionOS Platform by @artemcm in #1577
  • Mark Triple and its nested types as Sendable by @MaxDesiatov in #1579
  • Decrease the number of padding bytes in the Node Struct so it fits a lower quanta by @aliyevaa in #1580
  • Remove swiftmodule from linker filelist input by @etcwilde in #1581
  • Resolve main executable symlink when looking up driver-adjacent subcommand binaries by @artemcm in #1583
  • [Caching] Remove the error for creating multiple CAS at same location by @cachemeifyoucan in #1586
  • Schedule an emit-module-separately job even if an input is not compilable by @xymus in #1588
  • Prefer toolchain's plugins to SDK plugins if the toolchain has stdlib by @rintaro in #1590
  • [CAS] Fix task continuation misuse when CAS error happens by @cachemeifyoucan in #1591
  • Update Generic Unix linker selection by @etcwilde in #1545
  • Revert "Update Generic Unix linker selection" by @etcwilde in #1596
  • Fix parsed name of the newly-added SDKPlatformKind to use raw toolchain name by @artemcm in #1598
  • Do not warn on failure to in-process query target info or supported features by @artemcm in #1597
  • [Caching] Handle emit module job correctly for swift caching by @cachemeifyoucan in #1602
  • Fallback on swift-frontend -scan-dependencies ... fallback path in case libSwiftScan shared library cannot be loaded. by @artemcm in #1601
  • Add additional valid args to sanitize-coverage flag by @thetruestblue in #1604
  • [Option] Support MultiArg options by @cachemeifyoucan in #1609
  • [Explicit Module Builds] Get source locations from the dependency scanner and emit diagnostics with them by @artemcm in #1610
  • Allow setting the clang++ environment variable by @etcwilde in #1605
  • Revert "Revert "Update Generic Unix linker selection"" by @etcwilde in #1608
  • Update Options.swift by @nkcsgexi in #1615
  • [NFC] Fix diagnostic message query formatting for compatibility with existing tests, and fix additional tests by @artemcm in #1614
  • Android: add the stdlib RPATH when natively building on Android with Termux by @finagolfin in #1561
  • Fix dash count to fuse-ld by @etcwilde in #1624
  • Suppress warning about missing SDKSettings.json for non-Darwin platforms by @kateinoigakukun in #1619
  • Pass through -compiler-assertions to the compiler by @tbkka in #1623
  • Improve performance of precompiled module invalidation in incremental builds by @owenv in #1626
  • [Explicit Module Builds] Adopt dependency scanner Link Libraries support by @artemcm in #1622
  • [Explicit Module Builds][Incremental Builds] Re-compile module dependencies whose dependencies are up-to-date themselves but are themselves newer by @artemcm in #1628
  • [Tests][Explicit Module Builds] Fix per-test state in incremental explicitly-built module tests to avoid conflicts on parallel test runs by @artemcm in #1632
  • [SwiftScan] Fix headerDependencies in SwiftPrebuiltExternalModuleDetails by @cachemeifyoucan in #1633
  • Bump the DWARF version number to 5 on Darwin. by @adrian-prantl in #1630
  • Fix spurious warning by @rauhul in #1637
  • Response files should be named using the hash of the command line arguments only by @owenv in #1636
  • Update links for repositories moved to the swiftlang org on GitHub by @ahoppen in #1640
  • Add In-process plugin server path by @rintaro in #1616
  • Update README.md by @parispittman in #1644
  • Ignore prebuilt module cache when building the prebuilt module cache by @DougGregor in #1649
  • [PrebuiltModuleGen] Ensure the dependency scanner always ignores existing prebuilt modules by @artemcm in #1651
  • [Explicit Module Builds] Remove dead/incorrect code for handling header inputs of binary module dependencies by @artemcm in #1653
  • Bump swift-argument-parser to 1.4.0 by @MaxDesiatov in #1578
  • Pass -lld-allow-duplicate-weak for coverage on Windows by @hamishknight in #1655
  • Import new Android overlay or Bionic module by @finagolfin in #1647
  • [Test Only] Make CachingBuildTests.testDependencyScanning be adaptable to scanner diagnostic revisions by @artemcm in #1658
  • SwiftDriver: initial work to properly handle android cross-compilation by @compnerd in #1560
  • Revert "SwiftDriver: initial work to properly handle android cross-compilation" by @artemcm in #1662
  • Pass -enable-cmo-everything to frontend jobs by @tshortli in #1663
  • Allow enabling embedded Swift without WMO when not generating SIL by @owenv in #1513
  • Reinstate: SwiftDriver: initial work to properly handle android cross-compilation by @hyp in #1667
  • [Linux] Add build-id support. by @al45tair in #1641
  • Pass through -module-abi-name to frontend by @hamishknight in #1665
  • [Test Only] Adapt testExplicitLinkLibraries to use opt-in scanner validation mechanism on supporting compilers by @artemcm in #1673
  • [Incremental Builds][Explicit Module Builds] Treat Binary-only Swift module dependencies as up-to-date by @artemcm in #1674
  • Don't plan compileJob if emitModule is all that is needed in a separate job by @cachemeifyoucan in #1675
  • [Dependency Scanning] Enable scanner-side up-to-date binary module validation on supporting compilers by @artemcm in #1677
  • [Explicit Module Builds] Simplify -explain-module-dependency behavior and introduce -explain-module-dependency-detailed by @artemcm in #1676
  • PrebuiltModuleGen: fail prebuilt module generation job when critical modules failed to build by @nkcsgexi in #1668
  • Add a C (@_cdecl) API for the driver's getSingleFrontendInvocationFromDriverArguments by @artemcm in #1679
  • Fix ExplicitModuleBuildTests: testExplicitLinkLibraries & testDependencyGraphDotSerialization & CachingBuildTests: testSeparateModuleJob & testModuleOnlyJob by @artemcm in #1680
  • SwiftDriver: forward -sysroot provided by the user by @compnerd in https://github.com/swif...
Read more

Swift 6.0.3 Release

13 Dec 07:03

Choose a tag to compare

What's Changed

  • [6.0 πŸ’] Fix CachingBuildTests: testSeparateModuleJob & testModuleOnlyJob by @artemcm in #1689
  • [6.0] Only pass a versioned prebuilt-modules for Mac Catalyst if it exists. by @cwakamo in #1697
  • πŸ’[Swift 6.0] Allow overriding clang++ with an environment variable by @etcwilde in #1638
  • πŸ’[Swift 6.0]: Update Generic Unix linker selection by @etcwilde in #1595
  • [πŸ’ Swift-6.0.x] fuse-ld only takes one dash by @etcwilde in #1725
  • [6.0] Disable in-process target-info and supported-features queries using libSwiftScan by @artemcm in #1745

Full Changelog: swift-6.0.2-RELEASE...swift-6.0.3-RELEASE