Source: swiftlang
Version: 6.0.3-2
Severity: important
X-Debbugs-Cc: [email protected], [email protected], 
[email protected], [email protected], 
[email protected]

Dear Maintainer,

As explained in [1], a working Swift toolchain is expected to become a
requirement for building WebKit in the future, which in the case of
Debian would affect the webkit2gtk and wpewebkit packages.

In Debian, Swift is only available on amd64 and arm64 at the moment.

There's no ETA for this. It could happen during 2027, or maybe later,
but it's on the roadmap. Apple is already using Swift in the parts of
WebKit that are specific to their operating systems, and as far as I'm
aware they're always using the latest Swift compiler. At some point in
the future the expectation is that they will be more conservative with
adopting new Swift features, a bit like what they do with C++ now.

In the Linux case, the SDK used by the WebKitGTK development team
already comes with Swift, and it's possible to build the package with
some Swift code enabled (at the moment just a simple demo).

Since WebKitGTK in particular is used by many desktop packages, not
having a working Swift toolchain puts all those packages at risk of
being removed from the affected architectures.

There are challenges with this. One of them is that support for
architectures other than amd64 and arm64 is limited since it's not
Apple's priority.

The other problem is that Swift provides long-term API stability but
not ABI stability on Linux[2]. This also affects amd64 and arm64.

I'm filing this bug to track any efforts to port swiftlang to other
architectures.

Regards,

Berto

[1] https://lists.debian.org/debian-devel/2026/09/msg00139.html
[2] https://github.com/swiftlang/swift-corelibs-foundation/issues/4456

Reply via email to