You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/std_detect/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ run-time feature detection. When this feature is disabled, `std_detect` assumes
30
30
that [`getauxval`] is linked to the binary. If that is not the case the behavior
31
31
is undefined.
32
32
33
+
Note: This feature is ignored on `*-linux-gnu*` targets, since all `*-linux-gnu*` targets ([since Rust 1.64](https://blog.rust-lang.org/2022/08/01/Increasing-glibc-kernel-requirements.html)) have glibc requirements higher than [glibc 2.16 that added `getauxval`](https://sourceware.org/legacy-ml/libc-announce/2012/msg00000.html), and we can safely assume [`getauxval`] is linked to the binary.
34
+
33
35
*`std_detect_file_io` (enabled by default, requires `std`): Enable to perform run-time feature
34
36
detection using file APIs (e.g. `/proc/cpuinfo`, etc.) if other more performant
35
37
methods fail. This feature requires `libstd` as a dependency, preventing the
0 commit comments