diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2020-05-01 22:21:17 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2020-05-01 23:26:33 +0200 |
commit | a205bbb1d286d78efbb325dac1d465c6908e0026 (patch) | |
tree | 7bcae16233dd2e780de60ac9b0832428e5c34059 /safe_libc/src/lib.rs | |
parent | fd2384b7fab14732efde99da8affd830e2334e16 (diff) | |
download | neco-a205bbb1d286d78efbb325dac1d465c6908e0026.tar neco-a205bbb1d286d78efbb325dac1d465c6908e0026.zip |
Use extern type for CStr
Diffstat (limited to 'safe_libc/src/lib.rs')
-rw-r--r-- | safe_libc/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/safe_libc/src/lib.rs b/safe_libc/src/lib.rs index 6d9baf2..2e39b8d 100644 --- a/safe_libc/src/lib.rs +++ b/safe_libc/src/lib.rs @@ -1,6 +1,6 @@ #![no_std] +#![feature(extern_types)] #![feature(slice_ptr_len)] -#![feature(min_specialization)] // #![feature(ffi_const)] extern crate alloc; @@ -9,6 +9,7 @@ pub use libc::*; mod util; +pub mod boxed; pub mod errno; pub mod stdio; pub mod string; |