Add gnu_get_[version|release] for glibc#2862
Conversation
|
r? @Amanieu (rust-highfive has picked a reviewer for you, use r? to override) |
|
@bors r+ |
|
💔 Test failed - checks-actions |
|
I don't think this failure was caused by my code, any action on me? |
|
When I had the include path wrong it failed in CI. Once I had the correct include path it succeeded. So something in CI was able to pick it up. The functions were introduced in version 2.1, which was released in 1999: I don't see anything to suggest it is optional / can be turned off, though the GNU manual notes:
It looks like alpine linux uses |
|
@bors r+ |
|
💔 Test failed - checks-actions |
|
@bors retry |
|
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
See https://sourceware.org/git/?p=glibc.git;a=blob;f=csu/version.c;h=8c0ed79c01223e1f12b54d19f90b5e5b7dd78d27;hb=HEAD#l51 and http://refspecs.linux-foundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/libc-gnu-get-libc-version-1.html