Zollerboy1/SwiftCommand

Linux support in FileHandle+Async

Closed this issue · 2 comments

Thank you for putting together this package, it helped me a lot.

However, I was wondering what is missing to fully support Linux, I can't build on Linux because of the error below.

#elseif canImport(Glibc)
let read = Glibc.read
#error("Unsupported platform!")
#endif

Do you have a solution or plan to fully support Linux at some point?

Hi,

This package should already fully support Linux. The code you linked is from an older commit and was an oversight at that time. The newest releases are all building fine on Linux for me.

Please feel free to reopen this issue if something else isn't working with the newest release of this package.

My bad you are right I was using an old version. Sorry for the inconvenience.