diff --git a/artiq/runtime.rs/libstd_artiq/io/buffered.rs b/artiq/runtime.rs/libstd_artiq/io/buffered.rs index e23b74ff1..3088e4e63 100644 --- a/artiq/runtime.rs/libstd_artiq/io/buffered.rs +++ b/artiq/runtime.rs/libstd_artiq/io/buffered.rs @@ -17,6 +17,8 @@ use core::cmp; use core::fmt; use io::{self, DEFAULT_BUF_SIZE, Error, ErrorKind, SeekFrom}; use io::memchr; +use alloc::boxed::Box; +use collections::vec::Vec; /// The `BufReader` struct adds buffering to any reader. /// diff --git a/artiq/runtime.rs/libstd_artiq/io/cursor.rs b/artiq/runtime.rs/libstd_artiq/io/cursor.rs index 1db50ee5b..88e7646d5 100644 --- a/artiq/runtime.rs/libstd_artiq/io/cursor.rs +++ b/artiq/runtime.rs/libstd_artiq/io/cursor.rs @@ -13,6 +13,8 @@ use io::prelude::*; use core::cmp; use io::{self, SeekFrom, Error, ErrorKind}; +use alloc::boxed::Box; +use collections::vec::Vec; /// A `Cursor` wraps another type and provides it with a /// [`Seek`](trait.Seek.html) implementation. diff --git a/artiq/runtime.rs/libstd_artiq/io/prelude.rs b/artiq/runtime.rs/libstd_artiq/io/prelude.rs index eae5acf07..58df71e69 100644 --- a/artiq/runtime.rs/libstd_artiq/io/prelude.rs +++ b/artiq/runtime.rs/libstd_artiq/io/prelude.rs @@ -20,6 +20,3 @@ pub use super::{Read, Write, Seek}; pub use super::BufRead; - - pub use alloc::boxed::Box; - pub use collections::vec::Vec; diff --git a/artiq/runtime.rs/libstd_artiq/lib.rs b/artiq/runtime.rs/libstd_artiq/lib.rs index 1ec357302..83c4fd83d 100644 --- a/artiq/runtime.rs/libstd_artiq/lib.rs +++ b/artiq/runtime.rs/libstd_artiq/lib.rs @@ -21,9 +21,10 @@ pub use collections::{binary_heap, borrow, boxed, btree_map, btree_set, fmt, lin pub mod prelude { pub mod v1 { pub use core::prelude::v1::*; - pub use collections::*; - pub use io::{Read, Write, Seek}; - pub use io::BufRead; + pub use collections::boxed::Box; + pub use collections::borrow::ToOwned; + pub use collections::string::{String, ToString}; + pub use collections::vec::Vec; } }