Clarify the comment about CentOS 7's kernel version

This commit is contained in:
Josh Stone 2022-03-16 16:27:15 -07:00
parent d0142ce27a
commit 491bdcbe9f
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
# We document platform support for minimum glibc 2.17 and kernel 3.2.
# CentOS 7 has kernel 3.10, but that's not as important as matching the glibc version.
# CentOS 7 has headers for kernel 3.10, but that's fine as long as we don't
# actually use newer APIs in rustc or std without a fallback. It's more
# important that we match glibc for ELF symbol versioning.
FROM centos:7
WORKDIR /build

View File

@ -1,5 +1,7 @@
# We document platform support for minimum glibc 2.17 and kernel 3.2.
# CentOS 7 has kernel 3.10, but that's not as important as matching the glibc version.
# CentOS 7 has headers for kernel 3.10, but that's fine as long as we don't
# actually use newer APIs in rustc or std without a fallback. It's more
# important that we match glibc for ELF symbol versioning.
FROM centos:7
WORKDIR /build