duemunk / Async

Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch
MIT License
4.59k stars 316 forks source link

Crash build on Linux #149

Open bordunosp opened 3 years ago

bordunosp commented 3 years ago

There is a problem when trying to build a project on Linux

.build/checkouts/Async/Sources/Async/Async.swift:735:18: error: cannot find type 'qos_class_t' in scope
public extension qos_class_t {
                 ^~~~~~~~~~~
.build/checkouts/Async/Sources/Async/Async.swift:767:45: error: cannot find 'qos_class_main' in scope
        case DispatchQoS.QoSClass(rawValue: qos_class_main())!: result = .main
natinusala commented 3 years ago

FWIW there is the exact same error on Windows.