Commit 754c808
authored
[6.2] FreeBSD: Gate GNU-only API (#1194)
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
#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**: #1193
- **Original PRs**: #1183
- **Risk**: Low risk. Removes use of unavailable API.
- **Testing**: Built swift-testing on FreeBSD and Linux.
- **Reviewers**: @grynspan @3405691582
Fixes: #11931 parent 7751ca5 commit 754c808
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