Ladybird: Closing this as we are no longer pursuing Swift adoption

Swift 6.0 Blockers · Issue #933 · LadybirdBrowser/ladybird · GitHub Skip to content You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert LadybirdBrowser / ladybird Public Uh oh! There was an error while loading. Please reload this page . Notifications You must be signed in to change notification settings Fork 2.7k Star 58.6k Swift 6.0 Blockers #933 New issue Copy link New issue Copy link Closed Closed Swift 6.0 Blockers #933 Copy link Labels swift task list This issue contains a list of tasks. This issue contains a list of tasks. Description ADKaster opened on Aug 2, 2024 Issue body actions List of issues preventing moving forward on moving Swift 6.0 support out of an experimental state: Swift issues: Please backport d8352e93c1c8042d9166eab3d76d6c07ef585b6d swiftlang/llvm-project#8998 Details: Swift’s version of LLVM is missing the fix for [Clang] ICE in CheckPointerToMemberOperands passing decltype of lambda llvm/llvm-project#53815 . This means that any assertions build of llvm from the swift open source project cannot build our code. Snapshot builds are released with assertions on. Workaround: Build swift from source on Linux without llvm assertions, or use macOS. PR: 🍒 [Clang] [Sema] Handle placeholders in ‘.*’ expressions (#83103) swiftlang/llvm-project#9038 Fixed in Swift 6.0.0 release Interop: Compiler and C++ Bridging header disagree on ABI of Optional swiftlang/swift#75593 Details: It is not currently possible to return a swift optional of a small C++ type back to C++. The compiler and the generated bridging header disagree on how that is supposed to be done. Workaround: Don’t use Optional, use a return type that forces the C++ type to be heap allocated. Array is one alternative. Interop: Compiling with C++17 or higher on Ubuntu 22.04 fails with cyclic header dependencies in libstdc++ swiftlang/swift#75661 Details: Swift’s clang module map for libstdc++ contains cycles when is included. See https://forums.swift.org/t/swift-5-9-release-on-ubuntu-22-04-fails-to-build-std-module/67659 Workaround: Edit /lib/swift/linux/libstdcxx.h to comment out the #include line. PR: [cxx-interop] Disable c++ execution header with libstdcxx versions >= 11 swiftlang/swift#75662 (Just a workaround, not a fix) 6.0 Backport: 🍒 [cxx-interop] Disable c++ execution header with libstdcxx versions >= 11 swiftlang/swift#75971 Fixed in swiftlang/swift:main and release/6.0, but not in 6.0.0 or 6.0.1 Interop: Cannot return swift::Optional from C++ function swiftlang/swift#76024 Details: Returning binding types swift::Optional or swift::String from a C++ function is not supported Workaround: Return std:: types? Swift cannot import libstdc++-13 chrono header in C++23 mode swiftlang/swift#76809 Details: Swift 6.0 cannot import

Source: Hacker News | Original Link