Skip to content

Commit d0ef446

Browse files
committed
---
yaml --- r: 54425 b: refs/heads/snap-stage3 c: 02700e0 h: refs/heads/master i: 54423: 3b83e1d v: v3
1 parent 5e18cbd commit d0ef446

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 258a36738e6dcba1b01609e026862aa9750ccdbd
4+
refs/heads/snap-stage3: 02700e0e8d77ce7cd0e606088cdc17b293a00fd6
55
refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libcore/core.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ pub mod container;
189189
pub mod option;
190190
pub mod result;
191191
pub mod either;
192+
pub mod dlist;
192193
pub mod hashmap;
193194
pub mod cell;
194195
pub mod trie;

branches/snap-stage3/src/libstd/dlist.rs renamed to branches/snap-stage3/src/libcore/dlist.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ Do not use ==, !=, <, etc on doubly-linked lists -- it may not terminate.
1818
1919
*/
2020

21-
use core::prelude::*;
22-
use core::managed;
21+
use iter;
22+
use iter::BaseIter;
23+
use kinds::Copy;
24+
use managed;
25+
use option::{None, Option, Some};
26+
use vec;
2327

2428
pub type DListLink<T> = Option<@mut DListNode<T>>;
2529

@@ -536,8 +540,10 @@ impl<T> BaseIter<T> for @mut DList<T> {
536540

537541
#[cfg(test)]
538542
mod tests {
539-
use super::*;
540-
use core::prelude::*;
543+
use dlist::{DList, concat, from_vec, new_dlist_node};
544+
use iter;
545+
use option::{None, Some};
546+
use vec;
541547

542548
#[test]
543549
pub fn test_dlist_concat() {

branches/snap-stage3/src/libstd/serialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ Core encoding and decoding interfaces.
1717
#[forbid(non_camel_case_types)];
1818

1919
use core::prelude::*;
20+
use core::dlist::DList;
2021
use core::hashmap::linear::{LinearMap, LinearSet};
2122
use core::trie::{TrieMap, TrieSet};
2223
use deque::Deque;
23-
use dlist::DList;
2424
use treemap::{TreeMap, TreeSet};
2525

2626
pub trait Encoder {

branches/snap-stage3/src/libstd/std.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ pub mod priority_queue;
7575
pub mod rope;
7676
pub mod smallintmap;
7777
pub mod sort;
78-
pub mod dlist;
7978
pub mod treemap;
8079

8180
// And ... other stuff

branches/snap-stage3/src/libsyntax/abi.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,8 @@ pub enum Architecture {
4040
Mips
4141
}
4242

43-
// FIXME(#5423) After a snapshot, we can change these constants:
44-
// const IntelBits: u32 = (1 << (X86 as uint)) | (1 << X86_64 as uint));
45-
// const ArmBits: u32 = (1 << (Arm as uint));
46-
static IntelBits: u32 = 1 | 2;
47-
static ArmBits: u32 = 4;
43+
static IntelBits: u32 = (1 << (X86 as uint)) | (1 << (X86_64 as uint));
44+
static ArmBits: u32 = (1 << (Arm as uint));
4845

4946
struct AbiData {
5047
abi: Abi,

0 commit comments

Comments
 (0)