Correctly import core::ffi::c_void
This commit is contained in:
parent
275fc42ad8
commit
59dd15f603
2 changed files with 2 additions and 2 deletions
|
|
@ -83,4 +83,4 @@ mod core_arch;
|
|||
pub use self::core_arch::arch::*;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use core::{intrinsics, marker, mem, ptr, sync};
|
||||
use core::{ffi, intrinsics, marker, mem, ptr, sync};
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
//! [llvm_docs]:
|
||||
//! https://llvm.org/docs/NVPTXUsage.html
|
||||
|
||||
use core::ffi::c_void;
|
||||
use crate::ffi::c_void;
|
||||
|
||||
#[allow(improper_ctypes)]
|
||||
extern "C" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue