Skip to content

Commit 8319afe

Browse files
denzpgnzlbg
authored andcommitted
Correctly import core::ffi::c_void
1 parent fb33e66 commit 8319afe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/core_arch/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ mod core_arch;
8383
pub use self::core_arch::arch::*;
8484

8585
#[allow(unused_imports)]
86-
use core::{intrinsics, marker, mem, ptr, sync};
86+
use core::{ffi, intrinsics, marker, mem, ptr, sync};

crates/core_arch/src/nvptx/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! [llvm_docs]:
1212
//! https://llvm.org/docs/NVPTXUsage.html
1313
14-
use core::ffi::c_void;
14+
use crate::ffi::c_void;
1515

1616
#[allow(improper_ctypes)]
1717
extern "C" {

0 commit comments

Comments
 (0)