Skip to content

Commit d6f1992

Browse files
committed
---
yaml --- r: 148951 b: refs/heads/try2 c: d81bb44 h: refs/heads/master i: 148949: afadd18 148947: 19b2eae 148943: a51886d v: v3
1 parent e94e074 commit d6f1992

39 files changed

+123
-79
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 55f53f553a04fa0e491f96891403f40aeeed0665
8+
refs/heads/try2: d81bb441dae3bdb6760dcb0dc0fca2aceb561d24
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/mk/crates.mk

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,28 +50,30 @@
5050
################################################################################
5151

5252
TARGET_CRATES := std extra green rustuv native flate arena glob term semver \
53-
uuid serialize sync getopts
53+
uuid serialize sync getopts collections
5454
HOST_CRATES := syntax rustc rustdoc
5555
CRATES := $(TARGET_CRATES) $(HOST_CRATES)
5656
TOOLS := compiletest rustdoc rustc
5757

5858
DEPS_std := native:rustrt
59-
DEPS_extra := std term sync serialize getopts
59+
DEPS_extra := std term sync serialize getopts collections
6060
DEPS_green := std
6161
DEPS_rustuv := std native:uv native:uv_support
6262
DEPS_native := std
63-
DEPS_syntax := std extra term serialize
64-
DEPS_rustc := syntax native:rustllvm flate arena serialize sync getopts
65-
DEPS_rustdoc := rustc native:sundown serialize sync getopts
63+
DEPS_syntax := std extra term serialize collections
64+
DEPS_rustc := syntax native:rustllvm flate arena serialize sync getopts \
65+
collections
66+
DEPS_rustdoc := rustc native:sundown serialize sync getopts collections
6667
DEPS_flate := std native:miniz
67-
DEPS_arena := std extra
68+
DEPS_arena := std collections
6869
DEPS_glob := std
6970
DEPS_serialize := std
7071
DEPS_term := std
7172
DEPS_semver := std
7273
DEPS_uuid := std serialize
7374
DEPS_sync := std
7475
DEPS_getopts := std
76+
DEPS_collections := std serialize
7577

7678
TOOL_DEPS_compiletest := extra green rustuv getopts
7779
TOOL_DEPS_rustdoc := rustdoc green rustuv

branches/try2/mk/docs.mk

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ endif
275275

276276
# The rustdoc executable, rpath included in case --disable-rpath was provided to
277277
# ./configure
278-
RUSTDOC = $(HBIN2_H_$(CFG_BUILD))/rustdoc$(X_$(CFG_BUILD))
278+
RUSTDOC = $(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) \
279+
$(HBIN2_H_$(CFG_BUILD))/rustdoc$(X_$(CFG_BUILD))
279280

280281
# The library documenting macro
281282
#
@@ -290,9 +291,7 @@ doc/$(1)/index.html: \
290291
$$(foreach dep,$$(RUST_DEPS_$(1)), \
291292
$$(TLIB2_T_$(CFG_BUILD)_H_$(CFG_BUILD))/stamp.$$(dep))
292293
@$$(call E, rustdoc: $$@)
293-
$$(Q)$$(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $$(RUSTDOC) \
294-
--cfg stage2 $$<
295-
294+
$$(Q)$$(RUSTDOC) --cfg stage2 $$<
296295
endef
297296

298297
$(foreach crate,$(CRATES),$(eval $(call libdoc,$(crate))))

branches/try2/src/doc/guide-ffi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ conventions. Rust provides a way to tell the compiler which convention to use:
520520

521521
~~~~
522522
#[cfg(target_os = "win32", target_arch = "x86")]
523-
#[link(name = "kernel32")]
523+
#[link_name = "kernel32"]
524524
extern "stdcall" {
525525
fn SetEnvironmentVariableA(n: *u8, v: *u8) -> std::libc::c_int;
526526
}

branches/try2/src/doc/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ li {list-style-type: none; }
3838
* [The Rust compiler, `librustc`](rustc/index.html)
3939

4040
* [The `arena` allocation library](arena/index.html)
41+
* [The `collections` library](collections/index.html)
4142
* [The `flate` compression library](flate/index.html)
4243
* [The `getopts` argument parsing library](getopts/index.html)
4344
* [The `glob` file path matching library](glob/index.html)

branches/try2/src/doc/rust.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ use foo::baz::foobaz; // good: foo is at the root of the crate
881881
mod foo {
882882
extern mod extra;
883883
884-
use foo::extra::list; // good: foo is at crate root
884+
use foo::extra::time; // good: foo is at crate root
885885
// use extra::*; // bad: extra is not at the crate root
886886
use self::baz::foobaz; // good: self refers to module 'foo'
887887
use foo::bar::foobar; // good: foo is at crate root
@@ -3906,4 +3906,4 @@ Additional specific influences can be seen from the following languages:
39063906
* The lexical identifier rule of Python.
39073907
* The block syntax of Ruby.
39083908

3909-
[ffi]: guide-ffi.html
3909+
[ffi]: tutorial-ffi.html

branches/try2/src/libarena/lib.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
#[allow(missing_doc)];
2323
#[feature(managed_boxes)];
2424

25-
extern mod extra;
25+
extern mod collections;
2626

27-
use extra::list::{List, Cons, Nil};
28-
use extra::list;
27+
#[cfg(test)] extern mod extra;
28+
29+
use collections::list::{List, Cons, Nil};
30+
use collections::list;
2931

3032
use std::cast::{transmute, transmute_mut, transmute_mut_region};
3133
use std::cast;

branches/try2/src/libextra/container.rs renamed to branches/try2/src/libcollections/deque.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub mod bench {
4444
use std::container::MutableMap;
4545
use std::{vec, rand};
4646
use std::rand::Rng;
47-
use test::BenchHarness;
47+
use extra::test::BenchHarness;
4848

4949
pub fn insert_rand_n<M:MutableMap<uint,uint>>(n: uint,
5050
map: &mut M,

0 commit comments

Comments
 (0)