Skip to content

Use Swift 6.0 for tests #2776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Use Swift 6.0 for tests #2776

wants to merge 1 commit into from

Conversation

lann
Copy link
Collaborator

@lann lann commented Aug 28, 2024

Currently just testing CI here...

Swift 5.x uses an old wasi-sdk which might make it susceptible to WebAssembly/wasi-libc#377 when used with WAGI.

Signed-off-by: Lann Martin <lann.martin@fermyon.com>
@rylev
Copy link
Collaborator

rylev commented Aug 28, 2024

Looks like the Swift installation wasn't quite right:

stdout:
Building component test with `swiftc -target wasm32-unknown-wasi main.swift -o main.wasm`

stderr:
error: missing external dependency '/opt/hostedtoolcache/swiftwasm/wasm-6.0-SNAPSHOT-2024-07-20-a/x86_64/usr/lib/swift/wasi/static-executable-args.lnk'

@lann
Copy link
Collaborator Author

lann commented Aug 28, 2024

Yeah I had the same issue locally; I was hoping a "more standard" environment would fix it.

@lann lann closed this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants