We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1509944 commit 557a0b8Copy full SHA for 557a0b8
std/src/sys/alloc/unix.rs
@@ -71,6 +71,7 @@ cfg_if::cfg_if! {
71
}
72
} else {
73
#[inline]
74
+ #[cfg_attr(target_os = "vxworks", allow(unused_unsafe))]
75
unsafe fn aligned_malloc(layout: &Layout) -> *mut u8 {
76
let mut out = ptr::null_mut();
77
// We prefer posix_memalign over aligned_alloc since it is more widely available, and
0 commit comments