swiftlang / swift-corelibs-libdispatch

The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware
swift.org
Apache License 2.0
2.47k stars 461 forks source link

Fix build break due to calling convention mismatch on Windows #784

Closed tristanlabelle closed 1 year ago

tristanlabelle commented 1 year ago

My local Windows libdispatch build recently started failing due to a calling convention mismatch with the function we use as the PINIT_ONCE_FN argument of a InitOnceExecuteOnce invocation. The fix is to specify it explicitly.

compnerd commented 1 year ago

@swift-ci please test