Skip to content

Commit a65dee8

Browse files
committed
---
yaml --- r: 50415 b: refs/heads/auto c: 02700e0 h: refs/heads/master i: 50413: 9e30d45 50411: e542d12 50407: fa358ef 50399: 69c9c38 v: v3
1 parent cde7849 commit a65dee8

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
@@ -14,5 +14,5 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 258a36738e6dcba1b01609e026862aa9750ccdbd
17+
refs/heads/auto: 02700e0e8d77ce7cd0e606088cdc17b293a00fd6
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167

branches/auto/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/auto/src/libstd/dlist.rs renamed to branches/auto/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/auto/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/auto/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/auto/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)