Skip to content

Commit d2c1b25

Browse files
committed
---
yaml --- r: 151787 b: refs/heads/try2 c: 9a5bbd7 h: refs/heads/master i: 151785: e16e042 151783: 83b8b37 v: v3
1 parent b056784 commit d2c1b25

File tree

264 files changed

+5649
-8589
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

264 files changed

+5649
-8589
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: 53272180130b9d31e48a91dd63094355c843a584
8+
refs/heads/try2: 9a5bbd773ca847b7f798d71201cf6ee3389312ce
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
#
6969
# * `TESTNAME=...` - Specify the name of tests to run
7070
# * `CHECK_IGNORED=1` - Run normally-ignored tests
71-
# * `PLEASE_BENCH=1` - Run crate benchmarks (enable `--bench` flag)
71+
# * `NO_BENCH=1` - Don't run crate benchmarks (disable `--bench` flag)
7272
#
7373
# * `CFG_ENABLE_VALGRIND=1` - Run tests under valgrind
7474
# * `VALGRIND_COMPILE=1` - Run the compiler itself under valgrind

branches/try2/mk/crates.mk

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,29 +51,27 @@
5151

5252
TARGET_CRATES := libc std green rustuv native flate arena glob term semver \
5353
uuid serialize sync getopts collections num test time rand \
54-
workcache url log regex graphviz core rlibc
54+
workcache url log regex graphviz core
5555
HOST_CRATES := syntax rustc rustdoc fourcc hexfloat regex_macros fmt_macros
5656
CRATES := $(TARGET_CRATES) $(HOST_CRATES)
5757
TOOLS := compiletest rustdoc rustc
5858

5959
DEPS_core :=
60-
DEPS_rlibc :=
6160
DEPS_std := core libc native:rustrt native:compiler-rt native:backtrace native:jemalloc
62-
DEPS_graphviz := std
6361
DEPS_green := std rand native:context_switch
6462
DEPS_rustuv := std native:uv native:uv_support
6563
DEPS_native := std
6664
DEPS_syntax := std term serialize collections log fmt_macros
6765
DEPS_rustc := syntax native:rustllvm flate arena serialize sync getopts \
68-
collections time log graphviz
66+
collections time log
6967
DEPS_rustdoc := rustc native:hoedown serialize sync getopts collections \
7068
test time
7169
DEPS_flate := std native:miniz
7270
DEPS_arena := std collections
7371
DEPS_graphviz := std
7472
DEPS_glob := std
7573
DEPS_serialize := std collections log
76-
DEPS_term := std collections log
74+
DEPS_term := std collections
7775
DEPS_semver := std
7876
DEPS_uuid := std serialize rand
7977
DEPS_sync := std
@@ -82,8 +80,8 @@ DEPS_collections := std rand
8280
DEPS_fourcc := syntax std
8381
DEPS_hexfloat := syntax std
8482
DEPS_num := std rand
85-
DEPS_test := std collections getopts serialize term time regex
86-
DEPS_time := std serialize sync
83+
DEPS_test := std collections getopts serialize term time
84+
DEPS_time := std serialize
8785
DEPS_rand := std
8886
DEPS_url := std collections
8987
DEPS_workcache := std serialize collections log
@@ -100,7 +98,6 @@ TOOL_SOURCE_rustdoc := $(S)src/driver/driver.rs
10098
TOOL_SOURCE_rustc := $(S)src/driver/driver.rs
10199

102100
ONLY_RLIB_core := 1
103-
ONLY_RLIB_rlibc := 1
104101

105102
################################################################################
106103
# You should not need to edit below this line

branches/try2/mk/docs.mk

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ DOCS := index intro tutorial guide-ffi guide-macros guide-lifetimes \
3030
guide-tasks guide-container guide-pointers guide-testing \
3131
guide-runtime complement-bugreport complement-cheatsheet \
3232
complement-lang-faq complement-project-faq rust rustdoc \
33-
guide-unsafe
33+
guide-unsafe not_found
3434

3535
PDF_DOCS := tutorial rust
3636

@@ -42,11 +42,10 @@ L10N_LANGS := ja
4242
# Generally no need to edit below here.
4343

4444
# The options are passed to the documentation generators.
45-
RUSTDOC_HTML_OPTS_NO_CSS = --markdown-before-content=doc/version_info.html \
45+
RUSTDOC_HTML_OPTS = --markdown-css rust.css \
46+
--markdown-before-content=doc/version_info.html \
4647
--markdown-in-header=doc/favicon.inc --markdown-after-content=doc/footer.inc
4748

48-
RUSTDOC_HTML_OPTS = $(RUSTDOC_HTML_OPTS_NO_CSS) --markdown-css rust.css
49-
5049
PANDOC_BASE_OPTS := --standalone --toc --number-sections
5150
PANDOC_TEX_OPTS = $(PANDOC_BASE_OPTS) --include-before-body=doc/version.tex \
5251
--from=markdown --include-before-body=doc/footer.tex --to=latex
@@ -153,11 +152,6 @@ doc/footer.tex: $(D)/footer.inc | doc/
153152
@$(call E, pandoc: $@)
154153
$(CFG_PANDOC) --from=html --to=latex $< --output=$@
155154

156-
# HTML (rustdoc)
157-
DOC_TARGETS += doc/not_found.html
158-
doc/not_found.html: $(D)/not_found.md $(HTML_DEPS) | doc/
159-
$(RUSTDOC) $(RUSTDOC_HTML_OPTS_NO_CSS) --markdown-css http://static.rust-lang.org/doc/master/rust.css $<
160-
161155
define DEF_DOC
162156

163157
# HTML (rustdoc)

branches/try2/mk/rt.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ $$(JEMALLOC_LIB_$(1)): $$(JEMALLOC_DEPS) $$(MKFILE_DEPS)
261261
AR="$$(AR_$(1))" \
262262
RANLIB="$$(AR_$(1)) s" \
263263
CPPFLAGS="-I $(S)src/rt/" \
264-
EXTRA_CFLAGS="$$(CFG_CFLAGS_$(1)) -g1"
264+
EXTRA_CFLAGS="$$(CFG_CFLAGS_$(1))"
265265
$$(Q)$$(MAKE) -C "$$(JEMALLOC_BUILD_DIR_$(1))" build_lib_static
266266
$$(Q)cp $$(JEMALLOC_BUILD_DIR_$(1))/lib/$$(JEMALLOC_REAL_NAME_$(1)) $$(JEMALLOC_LIB_$(1))
267267

branches/try2/mk/tests.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ ifdef CHECK_IGNORED
3232
TESTARGS += --ignored
3333
endif
3434

35-
TEST_BENCH =
35+
TEST_BENCH = --bench
3636

3737
# Arguments to the cfail/rfail/rpass/bench tests
3838
ifdef CFG_VALGRIND
3939
CTEST_RUNTOOL = --runtool "$(CFG_VALGRIND)"
4040
TEST_BENCH =
4141
endif
4242

43-
ifdef PLEASE_BENCH
44-
TEST_BENCH = --bench
43+
ifdef NO_BENCH
44+
TEST_BENCH =
4545
endif
4646

4747
# Arguments to the perf tests

branches/try2/src/compiletest/common.rs

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
use std::from_str::FromStr;
1212
use std::fmt;
13-
use regex::Regex;
1413

1514
#[deriving(Clone, Eq)]
1615
pub enum Mode {
@@ -41,25 +40,25 @@ impl FromStr for Mode {
4140
impl fmt::Show for Mode {
4241
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
4342
let msg = match *self {
44-
CompileFail => "compile-fail",
45-
RunFail => "run-fail",
46-
RunPass => "run-pass",
47-
Pretty => "pretty",
48-
DebugInfoGdb => "debuginfo-gdb",
49-
DebugInfoLldb => "debuginfo-lldb",
50-
Codegen => "codegen",
43+
CompileFail => "compile-fail",
44+
RunFail => "run-fail",
45+
RunPass => "run-pass",
46+
Pretty => "pretty",
47+
DebugInfoGdb => "debuginfo-gdb",
48+
DebugInfoLldb => "debuginfo-lldb",
49+
Codegen => "codegen",
5150
};
52-
msg.fmt(f)
51+
write!(f.buf, "{}", msg)
5352
}
5453
}
5554

5655
#[deriving(Clone)]
5756
pub struct Config {
5857
// The library paths required for running the compiler
59-
pub compile_lib_path: StrBuf,
58+
pub compile_lib_path: ~str,
6059

6160
// The library paths required for running compiled programs
62-
pub run_lib_path: StrBuf,
61+
pub run_lib_path: ~str,
6362

6463
// The rustc executable
6564
pub rustc_path: Path,
@@ -80,7 +79,7 @@ pub struct Config {
8079
pub aux_base: Path,
8180

8281
// The name of the stage being built (stage1, etc)
83-
pub stage_id: StrBuf,
82+
pub stage_id: ~str,
8483

8584
// The test mode, compile-fail, run-fail, run-pass
8685
pub mode: Mode,
@@ -89,7 +88,7 @@ pub struct Config {
8988
pub run_ignored: bool,
9089

9190
// Only run tests that match this filter
92-
pub filter: Option<Regex>,
91+
pub filter: Option<~str>,
9392

9493
// Write out a parseable log of tests that were run
9594
pub logfile: Option<Path>,
@@ -110,37 +109,37 @@ pub struct Config {
110109

111110
// A command line to prefix program execution with,
112111
// for running under valgrind
113-
pub runtool: Option<StrBuf>,
112+
pub runtool: Option<~str>,
114113

115114
// Flags to pass to the compiler when building for the host
116-
pub host_rustcflags: Option<StrBuf>,
115+
pub host_rustcflags: Option<~str>,
117116

118117
// Flags to pass to the compiler when building for the target
119-
pub target_rustcflags: Option<StrBuf>,
118+
pub target_rustcflags: Option<~str>,
120119

121120
// Run tests using the JIT
122121
pub jit: bool,
123122

124123
// Target system to be tested
125-
pub target: StrBuf,
124+
pub target: ~str,
126125

127126
// Host triple for the compiler being invoked
128-
pub host: StrBuf,
127+
pub host: ~str,
129128

130129
// Path to the android tools
131130
pub android_cross_path: Path,
132131

133132
// Extra parameter to run adb on arm-linux-androideabi
134-
pub adb_path: StrBuf,
133+
pub adb_path: ~str,
135134

136135
// Extra parameter to run test sute on arm-linux-androideabi
137-
pub adb_test_dir: StrBuf,
136+
pub adb_test_dir: ~str,
138137

139138
// status whether android device available or not
140139
pub adb_device_status: bool,
141140

142141
// the path containing LLDB's Python module
143-
pub lldb_python_dir: Option<StrBuf>,
142+
pub lldb_python_dir: Option<~str>,
144143

145144
// Explain what's going on
146145
pub verbose: bool

0 commit comments

Comments
 (0)