File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
linux_like/linux/uclibc/x86_64 Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3281,7 +3281,7 @@ fn test_linux(target: &str) {
3281
3281
3282
3282
let mut cfg = ctest_cfg ( ) ;
3283
3283
cfg. define ( "_GNU_SOURCE" , None ) ;
3284
- // This macro re-deifnes fscanf,scanf,sscanf to link to the symbols that are
3284
+ // This macro re-defines fscanf,scanf,sscanf to link to the symbols that are
3285
3285
// deprecated since glibc >= 2.29. This allows Rust binaries to link against
3286
3286
// glibc versions older than 2.29.
3287
3287
cfg. define ( "__GLIBC_USE_DEPRECATED_SCANF" , None ) ;
@@ -3849,7 +3849,7 @@ fn test_linux(target: &str) {
3849
3849
"PR_SET_VMA" | "PR_SET_VMA_ANON_NAME" => true ,
3850
3850
3851
3851
// present in recent kernels only
3852
- "PR_SCHED_CORE" | "PR_SCHED_CORE_CREATE" | "PR_SCHED_CORE_GET" | "PR_SCHED_CORE_MAX" | "PR_SCHED_CORE_SCOPE_PROCESS_GROUP" | "PR_SCHED_CORE_SCOPE_THREAD" | "PR_SCHED_CORE_SCOPE_THREAD_GROUP" | "PR_SCHED_CORE_SHARE_FROM" | "PR_SCHED_CORE_SHARE_TO" => true ,
3852
+ "PR_SCHED_CORE" | "PR_SCHED_CORE_CREATE" | "PR_SCHED_CORE_GET" | "PR_SCHED_CORE_MAX" | "PR_SCHED_CORE_SCOPE_PROCESS_GROUP" | "PR_SCHED_CORE_SCOPE_THREAD" | "PR_SCHED_CORE_SCOPE_THREAD_GROUP" | "PR_SCHED_CORE_SHARE_FROM" | "PR_SCHED_CORE_SHARE_TO" => true ,
3853
3853
3854
3854
// present in recent kernels only >= 5.13
3855
3855
"PR_PAC_SET_ENABLED_KEYS" | "PR_PAC_GET_ENABLED_KEYS" => true ,
Original file line number Diff line number Diff line change @@ -6239,7 +6239,7 @@ extern "C" {
6239
6239
buffersize : u32 ,
6240
6240
) -> :: c_int ;
6241
6241
pub fn proc_kmsgbuf ( buffer : * mut :: c_void , buffersize : u32 ) -> :: c_int ;
6242
- pub fn proc_libversion ( major : * mut :: c_int , mintor : * mut :: c_int ) -> :: c_int ;
6242
+ pub fn proc_libversion ( major : * mut :: c_int , minor : * mut :: c_int ) -> :: c_int ;
6243
6243
pub fn proc_pid_rusage ( pid : :: c_int , flavor : :: c_int , buffer : * mut rusage_info_t ) -> :: c_int ;
6244
6244
6245
6245
// Available from Big Sur
Original file line number Diff line number Diff line change 13
13
/// Combination of granularity and offset.
14
14
///
15
15
/// The granularity defines how many CPUs each bit in map describes.
16
- /// The offset is the numer of the first CPU described by the first
16
+ /// The offset is the number of the first CPU described by the first
17
17
/// bit in the bitmap.
18
18
/// offset must be a multiple of 2^graularity.
19
19
///
You can’t perform that action at this time.
0 commit comments