Skip to content

Commit b443efa

Browse files
committed
---
yaml --- r: 196015 b: refs/heads/beta c: 02b38a2 h: refs/heads/master i: 196013: 91d2ecd 196011: 6183e6e 196007: f0c2211 195999: 88877fb v: v3
1 parent 2f6b249 commit b443efa

File tree

3,427 files changed

+57831
-42708
lines changed

Some content is hidden

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

3,427 files changed

+57831
-42708
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3030
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3131
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32-
refs/heads/beta: e05c2f80da3bf538c045d0682426a25b1c4b862b
32+
refs/heads/beta: 02b38a2497c48c6195cdde4934ea08753f5b5539
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3535
refs/heads/tmp: 9de34a84bb300bab1bf0227f577331620cd60511

branches/beta/AUTHORS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ Peter Schuller <[email protected]>
606606
Peter Williams <[email protected]>
607607
Peter Zotov <[email protected]>
608608
Petter Remen <[email protected]>
609-
Phil Dawes <[email protected]>
609+
Phil Dawes <[email protected]>
610610
Phil Ruffwind <[email protected]>
611611
Philip Munksgaard <[email protected]>
612612
Philipp Brüschweiler <[email protected]>

branches/beta/Makefile.in

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,7 @@
9797
# make check-stage1-rpass TESTNAME=my-shiny-new-test
9898
#
9999
# // Having trouble figuring out which test is failing? Turn off parallel tests
100-
# make check-stage1-std RUST_TEST_TASKS=1
101-
#
102-
# This is hardly all there is to know of The Rust Build System's
103-
# mysteries. The tale continues on the wiki[1].
104-
#
105-
# [1]: https://github.com/rust-lang/rust/wiki/Note-testsuite
100+
# make check-stage1-std RUST_TEST_THREADS=1
106101
#
107102
# If you really feel like getting your hands dirty, then:
108103
#

branches/beta/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Read ["Installing Rust"] from [The Book].
6464
# Choose one based on platform:
6565
$ pacman -S mingw-w64-i686-toolchain
6666
$ pacman -S mingw-w64-x86_64-toolchain
67-
67+
6868
$ pacman -S base-devel
6969
```
7070
@@ -115,7 +115,7 @@ The Rust community congregates in a few places:
115115

116116
## Contributing
117117

118-
To contribute to Rust, please see [CONTRIBUTING.md](CONTRIBUTING.md).
118+
To contribute to Rust, please see [CONTRIBUTING](CONTRIBUTING.md).
119119

120120
Rust has an [IRC] culture and most real-time collaboration happens in a
121121
variety of channels on Mozilla's IRC network, irc.mozilla.org. The
@@ -131,4 +131,4 @@ Rust is primarily distributed under the terms of both the MIT license
131131
and the Apache License (Version 2.0), with portions covered by various
132132
BSD-like licenses.
133133
134-
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.
134+
See [LICENSE-APACHE](LICENSE-APACHE), [LICENSE-MIT](LICENSE-MIT), and [COPYRIGHT](COPYRIGHT) for details.

branches/beta/configure

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ case $CFG_OSTYPE in
404404
CFG_OSTYPE=pc-windows-gnu
405405
;;
406406

407-
# Thad's Cygwin identifers below
407+
# Thad's Cygwin identifiers below
408408

409409
# Vista 32 bit
410410
CYGWIN_NT-6.0)
@@ -430,6 +430,10 @@ case $CFG_OSTYPE in
430430
CFG_CPUTYPE=x86_64
431431
;;
432432

433+
# Win 8 # uname -s on 64-bit cygwin does not contain WOW64, so simply use uname -m to detect arch (works in my install)
434+
CYGWIN_NT-6.3)
435+
CFG_OSTYPE=pc-windows-gnu
436+
;;
433437
# We do not detect other OS such as XP/2003 using 64 bit using uname.
434438
# If we want to in the future, we will need to use Cygwin - Chuck's csih helper in /usr/lib/csih/winProductName.exe or alternative.
435439
*)
@@ -457,7 +461,10 @@ case $CFG_CPUTYPE in
457461
CFG_CPUTYPE=aarch64
458462
;;
459463

460-
powerpc)
464+
# At some point, when ppc64[le] support happens, this will need to do
465+
# something clever. For now it's safe to assume that we're only ever
466+
# interested in building 32 bit.
467+
powerpc | ppc | ppc64)
461468
CFG_CPUTYPE=powerpc
462469
;;
463470

@@ -472,10 +479,19 @@ esac
472479
# Detect 64 bit linux systems with 32 bit userland and force 32 bit compilation
473480
if [ $CFG_OSTYPE = unknown-linux-gnu -a $CFG_CPUTYPE = x86_64 ]
474481
then
475-
file -L "$SHELL" | grep -q "x86[_-]64"
476-
if [ $? != 0 ]; then
477-
CFG_CPUTYPE=i686
482+
# $SHELL does not exist in standard 'sh', so probably only exists
483+
# if configure is running in an interactive bash shell. /usr/bin/env
484+
# exists *everywhere*.
485+
BIN_TO_PROBE="$SHELL"
486+
if [ -z "$BIN_TO_PROBE" -a -e "/usr/bin/env" ]; then
487+
BIN_TO_PROBE="/usr/bin/env"
478488
fi
489+
if [ -n "$BIN_TO_PROBE" ]; then
490+
file -L "$BIN_TO_PROBE" | grep -q "x86[_-]64"
491+
if [ $? != 0 ]; then
492+
CFG_CPUTYPE=i686
493+
fi
494+
fi
479495
fi
480496

481497

@@ -510,7 +526,8 @@ VAL_OPTIONS=""
510526
opt valgrind 0 "run tests with valgrind (memcheck by default)"
511527
opt helgrind 0 "run tests with helgrind instead of memcheck"
512528
opt valgrind-rpass 1 "run rpass-valgrind tests with valgrind"
513-
opt docs 1 "build documentation"
529+
opt docs 1 "build standard library documentation"
530+
opt compiler-docs 0 "build compiler documentation"
514531
opt optimize 1 "build optimized rust code"
515532
opt optimize-cxx 1 "build optimized C++ code"
516533
opt optimize-llvm 1 "build optimized LLVM"
@@ -697,15 +714,17 @@ probe CFG_ADB adb
697714

698715
if [ ! -z "$CFG_PANDOC" ]
699716
then
700-
PV_MAJOR_MINOR=$(pandoc --version | grep '^pandoc\(.exe\)\? ' |
701-
# extract the first 2 version fields, ignore everything else
702-
sed 's/pandoc\(.exe\)\? \([0-9]*\)\.\([0-9]*\).*/\2 \3/')
717+
# Extract "MAJOR MINOR" from Pandoc's version number
718+
PV_MAJOR_MINOR=$(pandoc --version | grep '^pandoc' |
719+
sed -E 's/pandoc(.exe)? ([0-9]+)\.([0-9]+).*/\2 \3/')
703720

704721
MIN_PV_MAJOR="1"
705722
MIN_PV_MINOR="9"
723+
706724
# these patterns are shell globs, *not* regexps
707725
PV_MAJOR=${PV_MAJOR_MINOR% *}
708726
PV_MINOR=${PV_MAJOR_MINOR#* }
727+
709728
if [ "$PV_MAJOR" -lt "$MIN_PV_MAJOR" ] || [ "$PV_MINOR" -lt "$MIN_PV_MINOR" ]
710729
then
711730
step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. Need at least $MIN_PV_MAJOR.$MIN_PV_MINOR. Disabling"
@@ -754,8 +773,9 @@ fi
754773
# Force bitrig to build with clang; gcc doesn't like us there
755774
if [ $CFG_OSTYPE = unknown-bitrig ]
756775
then
757-
step_msg "on Bitrig, forcing use of clang"
776+
step_msg "on Bitrig, forcing use of clang, disabling jemalloc"
758777
CFG_ENABLE_CLANG=1
778+
CFG_ENABLE_JEMALLOC=0
759779
fi
760780

761781
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
@@ -816,11 +836,11 @@ then
816836
LLVM_VERSION=$($LLVM_CONFIG --version)
817837

818838
case $LLVM_VERSION in
819-
(3.[2-6]*)
839+
(3.[5-6]*)
820840
msg "found ok version of LLVM: $LLVM_VERSION"
821841
;;
822842
(*)
823-
err "bad LLVM version: $LLVM_VERSION, need >=3.0svn"
843+
err "bad LLVM version: $LLVM_VERSION, need >=3.5"
824844
;;
825845
esac
826846
fi

0 commit comments

Comments
 (0)