Skip to content

JavaScriptKit fails to link with Embeded Swift in Swift 6 language mode #87903

@MaxDesiatov

Description

@MaxDesiatov

Reproduction

  1. Clone Example/EmbeddedConcurrency introduced in Fix Embedded, bump 6.3 Swift toolchain in test.yml swiftwasm/JavaScriptKit#702
  2. Modify Package.swift to removed .swiftLanguageMode(.v5) so it defaults to Swift 6 from swift-tools-version:6.0
  3. Build with latest development snapshot
TOOLCHAINS=org.swift.64202603091a swift build \
    --package-path /tmp/EmbeddedConcurrency-repro \
    --swift-sdk swift-DEVELOPMENT-SNAPSHOT-2026-03-09-a_wasm-embedded

Expected behavior

Everything links and builds fine

Environment

Reproducible on both macOS and Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConcurrencуArea → standard library: The `Concurrency` module under the standard library umbrellaWASIWebAssembly System Interface supportWebAssemblyPlatform: WebAssemblyactor isolationFeature → concurrency: Actor isolationconcurrencyFeature: umbrella label for concurrency language featuresembeddedEmbedded Swift

    Type

    Projects

    Status

    No status

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions