Skip to content

Conversation

@MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Nov 20, 2025

The integration test should verify that swift test works with non-embedded Swift SDK for Wasm.

rdar://160218251

The integration test should verify that `swift test` works with non-embedded Swift SDK for Wasm.
Without this test target wrong linker flags are apparently passed in the `swift test --swift-sdk` invocation.
MaxDesiatov added a commit to swiftlang/swift-driver that referenced this pull request Dec 3, 2025
Cherry-pick of #2026.

**Explanation**: The default of 64K for stack size is too low, especially as tail calls are not available by default on Wasm. It also means Swift Testing is unusable in `main` development snapshots due to stack overflows.

**Scope**: Limited to Wasm support.
**Risk**: Low due to isolated scope.
**Testing**: Added automated end-to-end test in swiftlang/swift-integration-tests#167.
**Issue**: rdar://160218251
**Reviewer**: @kateinoigakukun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants