Skip to content

Commit 6871d04

Browse files
committed
---
yaml --- r: 196542 b: refs/heads/auto c: 85f6c9f h: refs/heads/master v: v3
1 parent f4a36b0 commit 6871d04

File tree

21 files changed

+19
-50
lines changed

21 files changed

+19
-50
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: b3c5507f3a1a5e6caf07ffa63b125725c0b30f3d
13+
refs/heads/auto: 85f6c9ff84816c5286e2eae208fa150a0ba64ce4
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/compiletest/runtest.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,7 @@ fn run_debuginfo_gdb_test(config: &Config, props: &TestProps, testfile: &Path) {
382382

383383
// write debugger script
384384
let mut script_str = String::with_capacity(2048);
385-
let charset = if cfg!(target_os = "bitrig") { "auto" } else { "UTF-8" };
386-
script_str.push_str(&format!("set charset {}\n", charset));
385+
script_str.push_str("set charset UTF-8\n");
387386
script_str.push_str(&format!("file {}\n", exe_file.to_str().unwrap()));
388387
script_str.push_str("target remote :5039\n");
389388
script_str.push_str(&format!("set solib-search-path \
@@ -517,8 +516,8 @@ fn run_debuginfo_gdb_test(config: &Config, props: &TestProps, testfile: &Path) {
517516
.to_string();
518517
// write debugger script
519518
let mut script_str = String::with_capacity(2048);
520-
let charset = if cfg!(target_os = "bitrig") { "auto" } else { "UTF-8" };
521-
script_str.push_str(&format!("set charset {}\n", charset));
519+
520+
script_str.push_str("set charset UTF-8\n");
522521
script_str.push_str("show version\n");
523522

524523
match config.gdb_version {

branches/auto/src/doc/trpl/closures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The second is that the syntax is similar, but a bit different. I've added spaces
5454
here to make them look a little closer:
5555

5656
```rust
57-
fn plus_one_v1 ( x: i32 ) -> i32 { x + 1 }
57+
fn plus_one_v1 (x: i32 ) -> i32 { x + 1 }
5858
let plus_one_v2 = |x: i32 | -> i32 { x + 1 };
5959
let plus_one_v3 = |x: i32 | x + 1 ;
6060
```

branches/auto/src/libcore/convert.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ use marker::Sized;
2121
/// A cheap, reference-to-reference conversion.
2222
#[stable(feature = "rust1", since = "1.0.0")]
2323
pub trait AsRef<T: ?Sized> {
24-
/// Performs the conversion.
24+
/// Perform the conversion.
2525
#[stable(feature = "rust1", since = "1.0.0")]
2626
fn as_ref(&self) -> &T;
2727
}
2828

2929
/// A cheap, mutable reference-to-mutable reference conversion.
3030
#[stable(feature = "rust1", since = "1.0.0")]
3131
pub trait AsMut<T: ?Sized> {
32-
/// Performs the conversion.
32+
/// Perform the conversion.
3333
#[stable(feature = "rust1", since = "1.0.0")]
3434
fn as_mut(&mut self) -> &mut T;
3535
}
@@ -38,15 +38,15 @@ pub trait AsMut<T: ?Sized> {
3838
/// expensive.
3939
#[stable(feature = "rust1", since = "1.0.0")]
4040
pub trait Into<T>: Sized {
41-
/// Performs the conversion.
41+
/// Perform the conversion.
4242
#[stable(feature = "rust1", since = "1.0.0")]
4343
fn into(self) -> T;
4444
}
4545

4646
/// Construct `Self` via a conversion.
4747
#[stable(feature = "rust1", since = "1.0.0")]
4848
pub trait From<T> {
49-
/// Performs the conversion.
49+
/// Perform the conversion.
5050
#[stable(feature = "rust1", since = "1.0.0")]
5151
fn from(T) -> Self;
5252
}

branches/auto/src/librustdoc/html/static/main.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,6 @@
468468
if ($active.length) {
469469
document.location.href = $active.find('a').prop('href');
470470
}
471-
} else {
472-
$active.removeClass('highlighted');
473471
}
474472
});
475473
}

branches/auto/src/libstd/sys/unix/fs.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,7 @@ mod tests {
381381
use prelude::v1::*;
382382

383383
#[cfg_attr(any(target_os = "freebsd",
384-
target_os = "openbsd",
385-
target_os = "bitrig"),
384+
target_os = "openbsd"),
386385
ignore)]
387386
// under some system, pipe(2) will return a bidrectionnal pipe
388387
#[test]

branches/auto/src/test/debuginfo/gdb-pretty-struct-and-enums-pre-gdb-7-7.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// older versions of GDB too. A more extensive test can be found in
1313
// gdb-pretty-struct-and-enums.rs
1414

15-
// ignore-bitrig
1615
// ignore-windows failing on win32 bot
1716
// ignore-freebsd: gdb package too new
1817
// ignore-tidy-linelength

branches/auto/src/test/parse-fail/issue-5806.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
// ignore-windows
1212
// ignore-freebsd
1313
// ignore-openbsd
14-
// ignore-bitrig
1514

1615
#[path = "../compile-fail"]
1716
mod foo; //~ ERROR: a directory

branches/auto/src/test/run-make/c-link-to-rust-staticlib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ endif
88
ifneq ($(shell uname),FreeBSD)
99
all:
1010
$(RUSTC) foo.rs
11-
$(CC) bar.c -lfoo -o $(call RUN_BINFILE,bar) $(EXTRAFLAGS) $(EXTRACXXFLAGS)
11+
$(CC) bar.c -lfoo -o $(call RUN_BINFILE,bar) $(EXTRAFLAGS) -lstdc++
1212
$(call RUN,bar)
1313
rm $(call STATICLIB,foo*)
1414
$(call RUN,bar)

branches/auto/src/test/run-make/issue-14500/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
# is compiled with LTO, it shouldn't strip the symbol from `foo`, and that's the
77
# only way that `foo.c` will successfully compile.
88

9-
ifeq ($(UNAME),Bitrig)
10-
EXTRACFLAGS := -lc $(EXTRACFLAGS) $(EXTRACXXFLAGS)
11-
endif
12-
139
all:
1410
$(RUSTC) foo.rs --crate-type=rlib
1511
$(RUSTC) bar.rs --crate-type=staticlib -C lto -L. -o $(TMPDIR)/libbar.a

branches/auto/src/test/run-make/lto-smoke-c/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ CC := $(CC:-g=)
55

66
all:
77
$(RUSTC) foo.rs -C lto
8-
$(CC) bar.c -lfoo -o $(call RUN_BINFILE,bar) $(EXTRACFLAGS) $(EXTRACXXFLAGS)
8+
$(CC) bar.c -lfoo -o $(call RUN_BINFILE,bar) $(EXTRACFLAGS) -lstdc++
99
$(call RUN,bar)

branches/auto/src/test/run-make/no-stack-check/Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
-include ../tools.mk
22

3-
43
ifndef IS_WINDOWS
5-
6-
SKIP_OS := 'OpenBSD Bitrig'
7-
ifneq ($(UNAME),$(findstring $(UNAME),$(SKIP_OS)))
8-
4+
ifneq ($(UNAME),OpenBSD)
95
all:
106
$(RUSTC) -O --emit asm attr.rs
117
! grep -q morestack $(TMPDIR)/attr.s
@@ -14,10 +10,9 @@ all:
1410
$(RUSTC) -O --emit asm -C no-stack-check flag.rs
1511
! grep -q morestack $(TMPDIR)/flag.s
1612
else
17-
# On Bitrig/OpenBSD, morestack isn't used as the segmented stacks are disabled
13+
# On OpenBSD, morestack isn't used as the segmented stacks are disabled
1814
all:
1915
endif
20-
2116
else
2217
# On Windows we use __chkstk and it only appears in functions with large allocations,
2318
# so this test wouldn't be reliable.

branches/auto/src/test/run-make/tools.mk

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,15 @@ endif
5555
ifdef IS_WINDOWS
5656
EXTRACFLAGS := -lws2_32 -luserenv
5757
else
58-
ifeq ($(UNAME),Darwin)
58+
ifeq ($(shell uname),Darwin)
5959
else
60-
ifeq ($(UNAME),FreeBSD)
60+
ifeq ($(shell uname),FreeBSD)
6161
EXTRACFLAGS := -lm -lpthread -lgcc_s
6262
else
63-
ifeq ($(UNAME),Bitrig)
64-
EXTRACFLAGS := -lm -lpthread
65-
EXTRACXXFLAGS := -lc++ -lc++abi
66-
else
67-
ifeq ($(UNAME),OpenBSD)
63+
ifeq ($(shell uname),OpenBSD)
6864
EXTRACFLAGS := -lm -lpthread
6965
else
7066
EXTRACFLAGS := -lm -lrt -ldl -lpthread
71-
EXTRACXXFLAGS := -lstdc++
72-
endif
7367
endif
7468
endif
7569
endif
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
-include ../tools.mk
22

3-
SKIP_OS := 'FreeBSD OpenBSD Bitrig'
4-
5-
ifneq ($(UNAME),$(findstring $(UNAME),$(SKIP_OS)))
6-
3+
ifneq ($(findstring BSD,$(UNAME)),BSD)
74
HOST := $(shell $(RUSTC) -vV | grep 'host:' | sed 's/host: //')
85
ifeq ($(findstring i686,$(HOST)),i686)
96
TARGET := $(subst i686,x86_64,$(HOST))
@@ -16,6 +13,6 @@ all:
1613
$(RUSTC) bar.rs -C extra-filename=-targ --target $(TARGET)
1714
$(RUSTC) baz.rs --extern a=$(TMPDIR)/liba-targ.rlib --target $(TARGET)
1815
else
19-
# FreeBSD, OpenBSD, and Bitrig support only x86_64 architecture for now
16+
# FreeBSD & OpenBSD support only x86_64 architecture for now
2017
all:
2118
endif

branches/auto/src/test/run-pass/sepcomp-cci.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-bitrig
1211
// compile-flags: -C codegen-units=3
1312
// aux-build:sepcomp_cci_lib.rs
1413

branches/auto/src/test/run-pass/sepcomp-extern.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-bitrig
1211
// compile-flags: -C codegen-units=3
1312
// aux-build:sepcomp-extern-lib.rs
1413

branches/auto/src/test/run-pass/sepcomp-fns-backwards.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-bitrig
1211
// compile-flags: -C codegen-units=3
1312

1413
// Test references to items that haven't been translated yet.

branches/auto/src/test/run-pass/sepcomp-fns.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-bitrig
1211
// compile-flags: -C codegen-units=3
1312

1413
// Test basic separate compilation functionality. The functions should be able

branches/auto/src/test/run-pass/sepcomp-statics.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-bitrig
1211
// compile-flags: -C codegen-units=3
1312

1413
// Test references to static items across compilation units.

branches/auto/src/test/run-pass/sepcomp-unwind.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-bitrig
1211
// compile-flags: -C codegen-units=3
1312

1413
// Test unwinding through multiple compilation units.

branches/auto/src/test/run-pass/tcp-stress.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
// ignore-linux see joyent/libuv#1189
1212
// ignore-android needs extra network permissions
1313
// ignore-openbsd system ulimit (Too many open files)
14-
// ignore-bitrig system ulimit (Too many open files)
1514
// exec-env:RUST_LOG=debug
1615

1716
#![feature(rustc_private, libc, old_io, io, std_misc)]

0 commit comments

Comments
 (0)