Skip to content

Commit 5719cf7

Browse files
committed
---
yaml --- r: 123675 b: refs/heads/try c: 11c64f1 h: refs/heads/master i: 123673: 3a830ed 123671: b1cf3df v: v3
1 parent 4cd7205 commit 5719cf7

File tree

377 files changed

+4713
-6149
lines changed

Some content is hidden

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

377 files changed

+4713
-6149
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: da4e4e4e0a7778a85748aa4a303b13f603e96b4b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 8ddd286ea4ba4384a0dc9eae393ed515460a986e
5-
refs/heads/try: 1c711db551b9a5e56ba76e002e287dcfbb2cff3c
5+
refs/heads/try: 11c64f162ff5b3f8bf2fd978ab268395b285b067
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/RELEASES.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Version 0.9 (January 2014)
306306
* A new facility for enabling experimental features (feature gating) has
307307
been added, using the crate-level `#[feature(foo)]` attribute.
308308
* Managed boxes (@) are now behind a feature gate
309-
(`#[feature(managed_boxes)]`) in preparation for future removal. Use the
309+
(`#[feature(managed_boxes)]`) in preperation for future removal. Use the
310310
standard library's `Gc` or `Rc` types instead.
311311
* `@mut` has been removed. Use `std::cell::{Cell, RefCell}` instead.
312312
* Jumping back to the top of a loop is now done with `continue` instead of
@@ -398,7 +398,7 @@ Version 0.9 (January 2014)
398398
* std: `fmt::Default` can be implemented for any type to provide default
399399
formatting to the `format!` macro, as in `format!("{}", myfoo)`.
400400
* std: The `rand` API continues to be tweaked.
401-
* std: The `rust_begin_unwind` function, useful for inserting breakpoints
401+
* std: The `rust_begin_unwind` function, useful for insterting breakpoints
402402
on failure in gdb, is now named `rust_fail`.
403403
* std: The `each_key` and `each_value` methods on `HashMap` have been
404404
replaced by the `keys` and `values` iterators.
@@ -429,7 +429,7 @@ Version 0.9 (January 2014)
429429
extensible interfaces and is now implemented by two different crates:
430430
libnative, for native threading and I/O; and libgreen, for green threading
431431
and I/O. This paves the way for using the standard library in more limited
432-
embedded environments.
432+
embeded environments.
433433
* std: The `comm` module has been rewritten to be much faster, have a
434434
simpler, more consistent API, and to work for both native and green
435435
threading.

branches/try/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ opt ccache 0 "invoke gcc/clang via ccache to reuse object files between builds"
418418
opt local-rust 0 "use an installed rustc rather than downloading a snapshot"
419419
opt inject-std-version 1 "inject the current compiler version of libstd into programs"
420420
opt llvm-static-stdcpp 0 "statically link to libstdc++ for LLVM"
421-
opt rpath 0 "build rpaths into rustc itself"
421+
opt rpath 1 "build rpaths into rustc itself"
422422
opt nightly 0 "build nightly packages"
423423
opt verify-install 1 "verify installed binaries work"
424424
opt jemalloc 1 "build liballoc with jemalloc"

branches/try/man/rustc.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ A space-separated list of arguments to pass through to LLVM.
138138
If specified, the compiler will save more files (.bc, .o, .no-opt.bc) generated
139139
throughout compilation in the output directory.
140140
.TP
141-
\fBrpath\fR
142-
If specified, then the rpath value for dynamic libraries will be set in
141+
\fBno-rpath\fR
142+
If specified, then the rpath value for dynamic libraries will not be set in
143143
either dynamic library or executable outputs.
144144
.TP
145145
\fBno-prepopulate-passes\fR

branches/try/mk/main.mk

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
CFG_RELEASE_NUM=0.11.0
1717
CFG_RELEASE_LABEL=
1818

19-
CFG_FILENAME_EXTRA=4e7c5e5c
20-
2119
ifndef CFG_ENABLE_NIGHTLY
2220
# This is the normal version string
2321
CFG_RELEASE=$(CFG_RELEASE_NUM)$(CFG_RELEASE_LABEL)
@@ -122,8 +120,8 @@ endif
122120
ifdef TRACE
123121
CFG_RUSTC_FLAGS += -Z trace
124122
endif
125-
ifdef CFG_ENABLE_RPATH
126-
CFG_RUSTC_FLAGS += -C rpath
123+
ifdef CFG_DISABLE_RPATH
124+
CFG_RUSTC_FLAGS += -C no-rpath
127125
endif
128126

129127
# The executables crated during this compilation process have no need to include

branches/try/mk/target.mk

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,6 @@ $(foreach host,$(CFG_HOST), \
6868
# $(4) is the crate name
6969
define RUST_TARGET_STAGE_N
7070

71-
# NOTE: after a stage0 snap this should be just EXTRA_FILENAME, not with a stage
72-
# or target bound
73-
EXTRA_FILENAME_$(1)_$(2) = -C extra-filename=-$$(CFG_FILENAME_EXTRA)
74-
ifeq ($(1),0)
75-
ifeq ($$(CFG_BUILD),$(2))
76-
EXTRA_FILENAME_$(1)_$(2) =
77-
endif
78-
endif
79-
8071
$$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): CFG_COMPILER_HOST_TRIPLE = $(2)
8172
$$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
8273
$$(CRATEFILE_$(4)) \
@@ -94,9 +85,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
9485
-L "$$(LLVM_LIBDIR_$(2))" \
9586
-L "$$(dir $$(LLVM_STDCPP_LOCATION_$(2)))" \
9687
$$(RUSTFLAGS_$(4)) \
97-
--out-dir $$(@D) \
98-
$$(EXTRA_FILENAME_$(1)_$(2)) \
99-
$$<
88+
--out-dir $$(@D) $$<
10089
@touch $$@
10190
$$(call LIST_ALL_OLD_GLOB_MATCHES,\
10291
$$(dir $$@)$$(call CFG_LIB_GLOB_$(2),$(4)))

branches/try/mk/tests.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ endif
171171
# Main test targets
172172
######################################################################
173173

174-
check: cleantmptestlogs cleantestlibs check-notidy tidy
174+
check: cleantmptestlogs cleantestlibs tidy check-notidy
175175

176176
check-notidy: cleantmptestlogs cleantestlibs all check-stage2
177177
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log

branches/try/src/compiletest/compiletest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ pub fn log_config(config: &Config) {
187187
opt_str(&config.filter
188188
.as_ref()
189189
.map(|re| {
190-
re.to_string().into_string()
190+
re.to_str().into_string()
191191
}))));
192192
logv(c, format!("runtool: {}", opt_str(&config.runtool)));
193193
logv(c, format!("host-rustcflags: {}",

branches/try/src/compiletest/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub fn load_errors(re: &Regex, testfile: &Path) -> Vec<ExpectedError> {
3131
fn parse_expected(line_num: uint, line: &str, re: &Regex) -> Option<ExpectedError> {
3232
re.captures(line).and_then(|caps| {
3333
let adjusts = caps.name("adjusts").len();
34-
let kind = caps.name("kind").to_ascii().to_lower().into_string();
34+
let kind = caps.name("kind").to_ascii().to_lower().into_str();
3535
let msg = caps.name("msg").trim().to_string();
3636

3737
debug!("line={} kind={} msg={}", line_num, kind, msg);

branches/try/src/compiletest/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub fn make_new_path(path: &str) -> String {
4141
Some(curr) => {
4242
format!("{}{}{}", path, path_div(), curr)
4343
}
44-
None => path.to_string()
44+
None => path.to_str()
4545
}
4646
}
4747

branches/try/src/doc/guide-tasks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ fn stringifier(channel: &DuplexStream<String, uint>) {
465465
let mut value: uint;
466466
loop {
467467
value = channel.recv();
468-
channel.send(value.to_string());
468+
channel.send(value.to_str());
469469
if value == 0 { break; }
470470
}
471471
}
@@ -478,7 +478,7 @@ send strings (the first type parameter) and receive `uint` messages
478478
(the second type parameter). The body itself simply loops, reading
479479
from the channel and then sending its response back. The actual
480480
response itself is simply the stringified version of the received value,
481-
`uint::to_string(value)`.
481+
`uint::to_str(value)`.
482482

483483
Here is the code for the parent task:
484484

@@ -492,7 +492,7 @@ use std::comm::duplex;
492492
# let mut value: uint;
493493
# loop {
494494
# value = channel.recv();
495-
# channel.send(value.to_string());
495+
# channel.send(value.to_str());
496496
# if value == 0u { break; }
497497
# }
498498
# }

0 commit comments

Comments
 (0)