Skip to content
New issue

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

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

Already on GitHub? # to your account

hello world examples fail / This version of the operating system is not supported #26

Open
darkoverlordofdata opened this issue Oct 18, 2024 · 0 comments

Comments

@darkoverlordofdata
Copy link

darkoverlordofdata commented Oct 18, 2024

running on elementary OS 7.1 Horus
Built on Ubuntu 22.04.5 LTS
Linux 6.8.0-47-generic

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

swift run carton dev

with

Build of product 'carton' complete! (21.94s)

💣 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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant