Support swift-corelibs-libdispatch
kateinoigakukun opened this issue · 4 comments
kateinoigakukun commented
We will be able to support it after #5548
Kyle-Ye commented
Running into dispatch compiler issue recently. Looks like dispatch is currently not supported on WASM.
In file included from /home/runner/work/OpenGraph/OpenGraph/Sources/_OpenGraph/Graph/Graph.cpp:9:
In file included from /opt/hostedtoolcache/swiftwasm/wasm-5.9.1-RELEASE/x86_64/usr/lib/swift_static/dispatch/dispatch.h:64:
/opt/hostedtoolcache/swiftwasm/wasm-5.9.1-RELEASE/x86_64/usr/lib/swift_static/os/object.h:221:1: error: unknown type name '__BEGIN_DECLS'
__BEGIN_DECLS
Kyle-Ye commented
Does it mean #if defined(__unix__) is not evaluated to true for WASI and we need to a PR to fix it here?
kateinoigakukun commented
libdispatch is not supported yet at all
Kyle-Ye commented
libdispatch is not supported yet at all
Got it. I'll use macro to disable it for WASI platform.