diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-10 01:43:44 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-10 01:43:44 +0530 |
commit | 162ec5da5daf4fb62cfd78f666513aabb1122214 (patch) | |
tree | 42eca0632576d4a87bd0b81babfded9776026e32 | |
parent | 1be7f565e464934949471d20d451a937ec5ec2f6 (diff) | |
download | servo-162ec5da5daf4fb62cfd78f666513aabb1122214.tar.gz servo-162ec5da5daf4fb62cfd78f666513aabb1122214.zip |
Audit and reduce unstable usage in script
Reasons behind existing unstable features:
alloc / OIBIT : For deque (which was just copied from rust's source)
collections:
- `[T].tail()`
- `to_lowercase()`
core:
- `FnBox`
- `intrinsics::breakpoint()`
exit_status: for setting exit status
path_ext: for `is_dir` and `exists()` (can be done in other ways)
step_by/step_trait
std_misc:
- Thunk
- DefaultState and other hasher stuff
zero_one: `num::One`
-rw-r--r-- | components/util/deque/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/util/deque/mod.rs b/components/util/deque/mod.rs index fc79d9f76ee..bee1d97b296 100644 --- a/components/util/deque/mod.rs +++ b/components/util/deque/mod.rs @@ -50,8 +50,8 @@ pub use self::Stolen::{Empty, Abort, Data}; -use alloc::arc::Arc; -use alloc::heap::{allocate, deallocate}; +use std::sync::Arc; +use std::rt::heap::{allocate, deallocate}; use std::marker; use std::mem::{forget, min_align_of, size_of, transmute}; use std::ptr; |