apple / swift-corelibs-foundation

The Foundation Project, providing core utilities, internationalization, and OS independence
swift.org
Apache License 2.0
5.23k stars 1.12k forks source link

[wasm] Guard RunLoop.subproj sources with `__HAS_DISPATCH__` #4911

Closed kateinoigakukun closed 4 months ago

kateinoigakukun commented 4 months ago

Guard out the whole source code for no-dispatch platforms. Excluding them from the build at all is one of the options, but it introduces some complexities in CMake build script just for the specific target, so I prefer this way.

kateinoigakukun commented 4 months ago

@swift-ci test

kateinoigakukun commented 4 months ago

@swift-ci test Linux platform