Skip to content

wasm lacks signal support #5592

Open
Open
@Kyle-Ye

Description

@Kyle-Ye
In file included from /home/runner/work/xx/xx.h:51:
In file included from /opt/hostedtoolcache/swiftwasm/wasm-6.0-SNAPSHOT-2024-09-18-a/x86_64/usr/lib/swift/CoreFoundation/CoreFoundation.h:28:
/opt/hostedtoolcache/swiftwasm/wasm-6.0-SNAPSHOT-2024-09-18-a/x86_64/usr/share/wasi-sysroot/include/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
1 error generated.

I'm dropping support for Swift 5.10 for all supported platform in my package.

Since WASM does not have a corresponding release yet. I'm switching to the latest 6.0 snapshot wasm-6.0-SNAPSHOT-2024-09-18-a toolchain. And I hit with the above error.

Is there some extra param I can use to workaround it like #5563 (comment)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions