-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Confusing examples and instructions #25
Comments
You need to use 6.0 development snapshot toolchain instead of main (6.1) development snapshot. |
Thanks, that solves the 2nd question (problem). |
The hello world example seems outdated. It only works with non-Swift SDK installation |
I can work on checking the documentation if you want, and make a PR with some changes based on my experience. |
Yes, it definitely helps! |
I wanted to use Swift for WASM and found out your book.
After installing the toolchain & Swift-SDK for WASM I found out that the "Hello, world" example does not work because of a
error: missing external dependency '.../usr/lib/swift/wasi/static-executable-args.lnk'
However, in your "Troubleshooting" setting, you explicitly say:
First question: Does this means the "Hello, world" example is outdated?
After that I created a Swift package, and tried to build it using
Unfortunately my swift version is a 6.1-DEV compiler version:
> which swift /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2024-10-08-a.xctoolchain/usr/bin/swift
Second question: Did I missed something in the book to handle this error?
The text was updated successfully, but these errors were encountered: