Skip to content

Commit 359f928

Browse files
committed
chore: add unsafe
1 parent b9066f5 commit 359f928

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

3rdparty/omnisette/src/store_services_core/posix_windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::ffi::{CStr, CString};
55
use std::mem::MaybeUninit;
66

77
#[link(name = "ucrt")]
8-
extern "C" {
8+
unsafe extern "C" {
99
fn _errno() -> *mut libc::c_int;
1010
fn _timespec64_get(__ts: *mut libc::timespec, __base: libc::c_int) -> libc::c_int;
1111
fn _chsize(handle: i64, length: u64) -> usize;

0 commit comments

Comments
 (0)