about summary refs log tree commit diff
path: root/tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-01-22 17:22:39 +0100
committerJakub Beránek <berykubik@gmail.com>2025-01-22 17:22:39 +0100
commit5482bbac0f18d45f0e02bbe8153e47b160287fff (patch)
tree6cef096ed3152134ae9fd97dd4b402df019aa9df /tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu
parent46ae7382a43fd8a53d2476208c52ce7255ede79e (diff)
downloadrust-5482bbac0f18d45f0e02bbe8153e47b160287fff.tar.gz
rust-5482bbac0f18d45f0e02bbe8153e47b160287fff.zip
Reword comment slightly
Diffstat (limited to 'tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu')
-rw-r--r--tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs b/tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs
index 3b9963f9465..0134457c5c2 100644
--- a/tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs
+++ b/tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs
@@ -11,8 +11,10 @@ use std::path::{Path, PathBuf};
 use run_make_support::{cmd, llvm_objdump, regex, rustc_path};
 
 fn main() {
-    // This is the maximum glibc version *supported* by the x86_64-unknown-linux-gnu target.
+    // This is the maximum glibc version that we are *permitted* to use for the
+    // x86_64-unknown-linux-gnu target.
     // All glibc symbols used in the compiler must be lower or equal than this version.
+    // So that if a given machine only has glibc 2.17, it is able to run the compiler.
     let max_supported = (2, 17, 99);
 
     let rustc = PathBuf::from(rustc_path());