apple / swift-log

A Logging API for Swift
https://apple.github.io/swift-log/
Apache License 2.0
3.48k stars 284 forks source link

Changes to build with Musl. #283

Closed al45tair closed 9 months ago

al45tair commented 9 months ago

Added imports of Musl in a few places. Also added definitions for systemStderr and systemStdout.

Motivation:

We would like to be able to build swift-log on top of Musl, as well as the usual Glibc.

Modifications:

Really just adds some import Musls in conditionals, alongside the import Glibcs.

Result:

swift-log will build against Musl.

yim-lee commented 9 months ago

@swift-server-bot add to allowlist