Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support compiling against Musl (#3188)
Vapor already makes some provision for compiling against Musl in the RFC1123 implementation, where `Glibc` is not assumed and is imported conditionally alongside a conditional import of `Musl`. However, there are a couple of other places where `Glibc` is still assumed when compiling for Linux. This patch replaces these imports with the same `#if canImport(...)` pattern. Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
- Loading branch information