Open
Description
running on elementary OS 7.1 Horus
Built on Ubuntu 22.04.5 LTS
Linux 6.8.0-47-generic
- when I try the first example Hello, World,
swiftc -target wasm32-unknown-wasi hello.swift -o hello.wasm
returns the error
error: missing external dependency '/home/darko/.local/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-10-12-a-ubuntu22.04/usr/lib/swift/wasi/static-executable-args.lnk'
the wasi folder does not exist in thesdk
- the 2nd example Using Swift Package Manager works!
- the 3rd example Creating a browser app also fails on
swift run carton dev
with
Build of product 'carton' complete! (21.94s)
- checking Swift compiler path: /home/darko/.carton/sdk/wasm-6.0-SNAPSHOT-2024-06-19-a/usr/bin/swift
- checking Swift compiler path: /home/darko/.swiftenv/versions/wasm-6.0-SNAPSHOT-2024-06-19-a/usr/bin/swift
Fetching release assets from https://api.github.com/repos/swiftwasm/swift/releases/tags/swift-wasm-6.0-SNAPSHOT-2024-06-19-a
Response contained body, parsing it now...
Swift/ErrorType.swift:253: Fatal error: Error raised at top level: This version of the operating system is not supported
💣 Program crashed: Illegal instruction at 0x00007ee5482e2a3f
Thread 4 crashed:
0 0x00007ee5482e2a3f assertionFailure(::file:line🎏) + 351 in libswiftCore.so
1 0x00007ee548332ebe swift_errorInMain + 829 in libswiftCore.so
2 async_MainTY2 + 41 in carton at /home/darko/Projects/MyApp/.build/checkouts/carton/Sources/carton/main.swift:35:11
33│ import CartonDriver
34│
35│ try await main(arguments: CommandLine.arguments)
│ ▲
36│
Backtrace took 0.19s
Illegal instruction
Metadata
Assignees
Labels
No labels
Activity