We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8040de commit 8861efdCopy full SHA for 8861efd
1 file changed
libcc2rs/src/compat.rs
@@ -37,6 +37,9 @@ pub unsafe fn malloc_usable_size(ptr: *mut c_void) -> usize {
37
}
38
39
40
+/// # Safety
41
+///
42
+/// Invokes the platform specific errno.
43
pub unsafe fn cpp2rust_errno() -> *mut i32 {
- platform_errno_location()
44
+ unsafe { platform_errno_location() }
45
0 commit comments