We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e83dec commit 6452c10Copy full SHA for 6452c10
src/wasi.rs
@@ -362,7 +362,7 @@ pub const _SC_PAGE_SIZE: ::c_int = _SC_PAGESIZE;
362
pub const _SC_IOV_MAX: c_int = 60;
363
pub const _SC_SYMLOOP_MAX: c_int = 173;
364
365
-#[allow(unused_unsafe)] // `addr_of!(EXTERN_STATIC)` is now considered safe
+#[allow(unused_unsafe)] // `addr_of!(EXTERN_STATIC)` is now safe; remove `unsafe` when MSRV >= 1.82
366
pub static CLOCK_MONOTONIC: clockid_t = unsafe { clockid_t(ptr_addr_of!(_CLOCK_MONOTONIC)) };
367
#[allow(unused_unsafe)]
368
pub static CLOCK_PROCESS_CPUTIME_ID: clockid_t =
0 commit comments