Skip to content

Commit a8e04bf

Browse files
committed
---
yaml --- r: 211869 b: refs/heads/auto c: 6812ca1 h: refs/heads/master i: 211867: b7599dd v: v3
1 parent a195c5c commit a8e04bf

File tree

21 files changed

+546
-885
lines changed

21 files changed

+546
-885
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: 5b56d73dc0e8b988f91c44fd9f9e40331451796b
13+
refs/heads/auto: 6812ca1cc8c0dadb87f3866fab217ebe831a1fe1
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/configure

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,6 @@ valopt sysconfdir "/etc" "install system configuration files"
582582
valopt datadir "${CFG_PREFIX}/share" "install data"
583583
valopt infodir "${CFG_PREFIX}/share/info" "install additional info"
584584
valopt llvm-root "" "set LLVM root"
585-
valopt python "" "set path to python"
586585
valopt jemalloc-root "" "set directory where libjemalloc_pic.a is located"
587586
valopt build "${DEFAULT_BUILD}" "GNUs ./configure syntax LLVM build triple"
588587
valopt android-cross-path "/opt/ndk_standalone" "Android NDK standalone path"
@@ -696,9 +695,7 @@ putvar CFG_BOOTSTRAP_KEY
696695
step_msg "looking for build programs"
697696

698697
probe_need CFG_CURLORWGET curl wget
699-
if [ -z "$CFG_PYTHON_PROVIDED" ]; then
700-
probe_need CFG_PYTHON python2.7 python2.6 python2 python
701-
fi
698+
probe_need CFG_PYTHON python2.7 python2.6 python2 python
702699

703700
python_version=$($CFG_PYTHON -V 2>&1)
704701
if [ $(echo $python_version | grep -c '^Python 2\.[4567]') -ne 1 ]; then
@@ -852,6 +849,13 @@ then
852849
putvar CFG_LOCAL_RUST_ROOT
853850
fi
854851

852+
# Force freebsd to build with clang; gcc doesn't like us there
853+
if [ $CFG_OSTYPE = unknown-freebsd ]
854+
then
855+
step_msg "on FreeBSD, forcing use of clang"
856+
CFG_ENABLE_CLANG=1
857+
fi
858+
855859
# Force bitrig to build with clang; gcc doesn't like us there
856860
if [ $CFG_OSTYPE = unknown-bitrig ]
857861
then
@@ -969,8 +973,8 @@ fi
969973

970974
if [ ! -z "$CFG_ENABLE_CLANG" ]
971975
then
972-
case "$CC" in
973-
(''|*clang)
976+
if [ -z "$CC" ] || [[ $CC == *clang ]]
977+
then
974978
CFG_CLANG_VERSION=$($CFG_CC \
975979
--version \
976980
| grep version \
@@ -990,11 +994,9 @@ then
990994
err "bad CLANG version: $CFG_CLANG_VERSION, need >=3.0svn"
991995
;;
992996
esac
993-
;;
994-
(*)
997+
else
995998
msg "skipping CFG_ENABLE_CLANG version check; provided CC=$CC"
996-
;;
997-
esac
999+
fi
9981000
fi
9991001

10001002
if [ ! -z "$CFG_ENABLE_CCACHE" ]

branches/auto/mk/debuggers.mk

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515

1616
## GDB ##
1717
DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB=gdb_load_rust_pretty_printers.py \
18-
gdb_rust_pretty_printing.py \
19-
debugger_pretty_printers_common.py
18+
gdb_rust_pretty_printing.py
2019
DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB_ABS=\
2120
$(foreach script,$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB), \
2221
$(CFG_SRC_DIR)src/etc/$(script))
@@ -28,8 +27,7 @@ DEBUGGER_BIN_SCRIPTS_GDB_ABS=\
2827

2928

3029
## LLDB ##
31-
DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB=lldb_rust_formatters.py \
32-
debugger_pretty_printers_common.py
30+
DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB=lldb_rust_formatters.py
3331
DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB_ABS=\
3432
$(foreach script,$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB), \
3533
$(CFG_SRC_DIR)src/etc/$(script))

branches/auto/mk/docs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ endef
265265
$(foreach crate,$(CRATES),$(eval $(call DEF_LIB_DOC,$(crate))))
266266

267267
COMPILER_DOC_TARGETS := $(CRATES:%=doc/%/index.html)
268-
ifdef CFG_ENABLE_COMPILER_DOCS
268+
ifdef CFG_COMPILER_DOCS
269269
DOC_TARGETS += $(COMPILER_DOC_TARGETS)
270270
else
271271
DOC_TARGETS += $(DOC_CRATES:%=doc/%/index.html)

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ b.x = 10; // error: cannot assign to immutable field `b.x`
159159

160160
[struct]: structs.html
161161

162-
However, by using [`Cell<T>`][cell], you can emulate field-level mutability:
162+
However, by using `Cell<T>`, you can emulate field-level mutability:
163163

164164
```rust
165165
use std::cell::Cell;
@@ -176,6 +176,4 @@ point.y.set(7);
176176
println!("y: {:?}", point.y);
177177
```
178178

179-
[cell]: ../std/cell/struct.Cell.html
180-
181179
This will print `y: Cell { value: 7 }`. We’ve successfully updated `y`.

0 commit comments

Comments
 (0)