E587
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9057c3f commit 2c3db0fCopy full SHA for 2c3db0f
library/std/src/os/horizon/raw.rs
@@ -9,6 +9,7 @@
9
definitions"
10
)]
11
#![allow(deprecated)]
12
+#![allow(dead_code)]
13
14
use crate::os::raw::c_long;
15
use crate::os::unix::raw::{gid_t, uid_t};
library/std/src/sys/pal/unix/alloc.rs
@@ -67,7 +67,7 @@ cfg_if::cfg_if! {
67
))] {
68
#[inline]
69
unsafe fn aligned_malloc(layout< 9199 span class=pl-kos>: &Layout) -> *mut u8 {
70
- libc::memalign(layout.align(), layout.size()) as *mut u8
+ unsafe { libc::memalign(layout.align(), layout.size()) as *mut u8 }
71
}
72
} else {
73
library/std/src/sys/pal/unix/process/process_unsupported.rs
@@ -1,4 +1,3 @@
1
-use crate::fmt;
2
use crate::io;
3
use crate::num::NonZero;
4
use crate::sys::pal::unix::unsupported::*;
0 commit comments