Skip to content

Conversation

@matthewbastien
Copy link
Member

@matthewbastien matthewbastien commented Dec 18, 2025

Description

Swiftly <1.1.0 does not support the --format=json option which means that we can't parse the output of swiftly use. In this case the extension will now fall back to checking the version of the active Swift toolchain in order to determine which swiftly toolchain has been selected. This won't work for snapshot toolchains, but will at least work for stable toolchains.

Issue: #2009

Tasks

  • Required tests have been written
  • Documentation has been updated
  • Added an entry to CHANGELOG.md if applicable

@matthewbastien matthewbastien changed the title add fallback for Swiftly.inUseVersion() when using swiftly 1.0.1 Add fallback in toolchain selection for Swiftly.inUseVersion() when using swiftly 1.0.1 Dec 18, 2025
@matthewbastien matthewbastien merged commit 0dadcf8 into swiftlang:main Dec 18, 2025
26 checks passed
@matthewbastien matthewbastien deleted the issue-2009 branch December 18, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants