Skip to content
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

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)

  • 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

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

No branches or pull requests

1 participant