Commit 126cbef
committed
FreeBSD: Gate GNU-only API (swiftlang#1183)
The FreeBSD builds are currently using the GlibC modulemap to import the
C runtimes. FreeBSD does not have `gnu_get_libc_version` resulting in
build failures.
The use of this API was introduced in
swiftlang#1147
(cherry picked from commit 79c22ad)
- **Explanation**:
The FreeBSD builds are currently using the GlibC modulemap to import the
C runtimes. FreeBSD does not have `gnu_get_libc_version` resulting in
build failures.
- **Scope**: Build failure on platforms using Glibc modulemap that don't
have GNU extensions. (FreeBSD, OpenBSD)
- **Issues**: swiftlang#1193
- **Original PRs**: swiftlang#1183
- **Risk**: Low risk. Removes use of unavailable API.
- **Testing**: Built swift-testing on FreeBSD and Linux.
- **Reviewers**: @grynspan @3405691582
Fixes: swiftlang#11931 parent 7751ca5 commit 126cbef
File tree
2 files changed
+2
-2
lines changed- Sources/Testing
- ExitTests
- Support
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments