Open kateinoigakukun opened 4 months ago
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
Does it mean #if defined(__unix__)
is not evaluated to true for WASI and we need to a PR to fix it here?
libdispatch is not supported yet at all
libdispatch is not supported yet at all
Got it. I'll use macro to disable it for WASI platform.
We will be able to support it after https://github.com/swiftwasm/swift/issues/5548