mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Conditionally import ffi::c_void
This commit is contained in:
parent
b0071d274b
commit
7186c07151
1 changed files with 3 additions and 2 deletions
|
@ -1,15 +1,16 @@
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
#![cfg_attr(feature = "no_std", no_std)]
|
#![cfg_attr(feature = "no_std", no_std)]
|
||||||
|
|
||||||
|
use arrayvec::ArrayString;
|
||||||
use core::cmp::Ordering;
|
use core::cmp::Ordering;
|
||||||
use core::ffi::c_void;
|
|
||||||
use core::fmt::{self, Debug};
|
use core::fmt::{self, Debug};
|
||||||
use core::hash::{Hash, Hasher};
|
use core::hash::{Hash, Hasher};
|
||||||
use core::mem::{ManuallyDrop, MaybeUninit};
|
use core::mem::{ManuallyDrop, MaybeUninit};
|
||||||
use core::ops::Drop;
|
use core::ops::Drop;
|
||||||
use core::str;
|
use core::str;
|
||||||
|
|
||||||
use arrayvec::ArrayString;
|
#[cfg(feature = "platform")]
|
||||||
|
use core::ffi::c_void;
|
||||||
|
|
||||||
mod roc_box;
|
mod roc_box;
|
||||||
mod roc_list;
|
mod roc_list;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue