◐ Shell
clean mode source ↗

[codex] update to latest development snapshot toolchain by kateinoigakukun · Pull Request #763 · swiftwasm/JavaScriptKit

What changed

  • Updated CI snapshot toolchain downloads to the 2026-05-27 development snapshot.
  • Forced make unittest to use SwiftPM's native build system.
  • Updated JavaScriptEventLoop's scheduling fallback to match the upstream Swift change that removed SE-0505 clock forwarding APIs.

Why

Upstream Swift removed the Clock forwarding path that previously allowed unknown clocks to delegate scheduling. The JavaScript event loop now only supports the built-in ContinuousClock and SuspendingClock paths, so the fallback must trap for unsupported clocks.

Validation

  • mise exec -- env SWIFT_SDK_ID=DEVELOPMENT-SNAPSHOT-2026-05-27-a-wasm32-unknown-wasip1 make unittest
  • The suite passed on the matching 2026-05-27 host toolchain and Wasm SDK.

Note

  • --build-system native is currently required for local make unittest; SwiftPM warns that it is deprecated, so we should mention that in the PR description and revisit it when the default build-system path is compatible again.