Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/codeql/codeql-overview/system-requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ For Rust extraction:

- ``rustup`` and ``cargo`` must be installed.

For Swift extraction:

- Only macOS is supported.

For Java extraction:

- There must be a ``java`` or ``java.exe`` executable available on the ``PATH``, and the ``JAVA_HOME`` environment variable must point to the corresponding JDK's home directory.
Expand Down
7 changes: 4 additions & 3 deletions docs/codeql/reusables/supported-versions-compilers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
Python [9]_,"2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13",Not applicable,``.py``
Ruby [10]_,"up to 3.3",Not applicable,"``.rb``, ``.erb``, ``.gemspec``, ``Gemfile``"
Rust [11]_,"Rust editions 2021 and 2024","Rust compiler","``.rs``, ``Cargo.toml``"
Swift [12]_,"Swift 5.4-6.1","Swift compiler","``.swift``"
TypeScript [13]_,"2.6-5.9",Standard TypeScript compiler,"``.ts``, ``.tsx``, ``.mts``, ``.cts``"
Swift [12]_ [13]_,"Swift 5.4-6.1","Swift compiler","``.swift``"
TypeScript [14]_,"2.6-5.9",Standard TypeScript compiler,"``.ts``, ``.tsx``, ``.mts``, ``.cts``"

.. container:: footnote-group

Expand All @@ -43,4 +43,5 @@
.. [10] Requires glibc 2.17.
.. [11] Requires ``rustup`` and ``cargo`` to be installed. Features from nightly toolchains are not supported.
.. [12] Support for the analysis of Swift requires macOS.
.. [13] TypeScript analysis is performed by running the JavaScript extractor with TypeScript enabled. This is the default.
.. [13] Embedded Swift is not supported.
.. [14] TypeScript analysis is performed by running the JavaScript extractor with TypeScript enabled. This is the default.
1 change: 1 addition & 0 deletions swift/ql/lib/change-notes/2025-10-22-swift-6.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
category: majorAnalysis
---
* Upgraded to allow analysis of Swift 6.2.
* Support for experimental Embedded Swift has been dropped.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it actually present / do we know if it worked in previous releases?

Copy link
Contributor Author

@jketema jketema Oct 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was present. If it actually worked, I don't know. It's not something we ever tested for.

2 changes: 2 additions & 0 deletions swift/third_party/load.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ load("//misc/bazel:lfs.bzl", "lfs_archive", "lfs_files")

_override = {
# these are used to test new artifacts. Must be empty before merging to main
"resource-dir-macOS-swift-6.2-RELEASE-128.zip": "64ac7f77b2d8b9112e0126ff69afb1a033ae940ff18bb8732be982a723610f2e",
"resource-dir-Linux-swift-6.2-RELEASE-128.zip": "44888a0c944227bfcfa47f0e052f59c93b947e56ab070da877b0b0b4d79cdecb",
}

_staging_url = "https://github.com/dsp-testing/codeql-swift-artifacts/releases/download/staging-{}/{}"
Expand Down
Loading