Skip to content

Commit 0bb9a95

Browse files
committed
Merge branch 'master' into redox
2 parents 25e1a4a + 1473007 commit 0bb9a95

File tree

896 files changed

+52992
-8573
lines changed

Some content is hidden

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

896 files changed

+52992
-8573
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
src/etc/pkg/rust-logo.ico binary
88
src/etc/pkg/rust-logo.png binary
99
*.woff binary
10+
src/vendor/* binary

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,4 @@ tmp.*.rs
9898
version.md
9999
version.ml
100100
version.texi
101+
.cargo

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ before_install:
1515
script:
1616
- docker run -v `pwd`:/build rust
1717
sh -c "
18-
./configure --enable-rustbuild --llvm-root=/usr/lib/llvm-3.7 --enable-quiet-tests &&
18+
./configure --enable-vendor --enable-rustbuild --llvm-root=/usr/lib/llvm-3.7 --enable-quiet-tests &&
1919
make tidy &&
2020
make check -j4
2121
"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ ones from MSYS if you have it installed). You'll also need Visual Studio 2013 or
127127
newer with the C++ tools. Then all you need to do is to kick off rustbuild.
128128
129129
```
130-
python .\src\bootstrap\bootstrap.py
130+
python x.py build
131131
```
132132
133133
Currently rustbuild only works with some known versions of Visual Studio. If you
@@ -137,7 +137,7 @@ by manually calling the appropriate vcvars file before running the bootstrap.
137137
138138
```
139139
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
140-
python .\src\bootstrap\bootstrap.py
140+
python x.py build
141141
```
142142
143143
## Building Documentation

RELEASES.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
Version 1.12.1 (2016-10-20)
2+
===========================
3+
4+
Regression Fixes
5+
----------------
6+
7+
* [ICE: 'rustc' panicked at 'assertion failed: concrete_substs.is_normalized_for_trans()' #36381][36381]
8+
* [Confusion with double negation and booleans][36856]
9+
* [rustc 1.12.0 fails with SIGSEGV in release mode (syn crate 0.8.0)][36875]
10+
* [Rustc 1.12.0 Windows build of `ethcore` crate fails with LLVM error][36924]
11+
* [1.12.0: High memory usage when linking in release mode with debug info][36926]
12+
* [Corrupted memory after updated to 1.12][36936]
13+
* ["Let NullaryConstructor = something;" causes internal compiler error: "tried to overwrite interned AdtDef"][37026]
14+
* [Fix ICE: inject bitcast if types mismatch for invokes/calls/stores][37112]
15+
* [debuginfo: Handle spread_arg case in MIR-trans in a more stable way.][37153]
16+
17+
[36381]: https://github.com/rust-lang/rust/issues/36381
18+
[36856]: https://github.com/rust-lang/rust/issues/36856
19+
[36875]: https://github.com/rust-lang/rust/issues/36875
20+
[36924]: https://github.com/rust-lang/rust/issues/36924
21+
[36926]: https://github.com/rust-lang/rust/issues/36926
22+
[36936]: https://github.com/rust-lang/rust/issues/36936
23+
[37026]: https://github.com/rust-lang/rust/issues/37026
24+
[37112]: https://github.com/rust-lang/rust/issues/37112
25+
[37153]: https://github.com/rust-lang/rust/issues/37153
26+
27+
128
Version 1.12.0 (2016-09-29)
229
===========================
330

configure

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ opt rustbuild 0 "use the rust and cargo based build system"
634634
opt codegen-tests 1 "run the src/test/codegen tests"
635635
opt option-checking 1 "complain about unrecognized options in this configure script"
636636
opt ninja 0 "build LLVM using the Ninja generator (for MSVC, requires building in the correct environment)"
637+
opt vendor 0 "enable usage of vendored Rust crates"
637638

638639
# Optimization and debugging options. These may be overridden by the release channel, etc.
639640
opt_nosave optimize 1 "build optimized rust code"
@@ -868,13 +869,6 @@ then
868869
fi
869870
fi
870871

871-
if [ -n "$CFG_GDB" ]
872-
then
873-
# Store GDB's version
874-
CFG_GDB_VERSION=$($CFG_GDB --version 2>/dev/null | head -1)
875-
putvar CFG_GDB_VERSION
876-
fi
877-
878872
if [ -n "$CFG_LLDB" ]
879873
then
880874
# Store LLDB's version

mk/dist.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ PKG_FILES := \
6565
stage0.txt \
6666
rust-installer \
6767
tools \
68-
test) \
68+
test \
69+
vendor) \
6970
$(PKG_GITMODULES) \
7071
$(filter-out config.stamp, \
7172
$(MKFILES_FOR_TARBALL))

mk/main.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ CFG_INFO := $(info cfg: disabling unstable features (CFG_DISABLE_UNSTABLE_FEATUR
372372
# Turn on feature-staging
373373
export CFG_DISABLE_UNSTABLE_FEATURES
374374
# Subvert unstable feature lints to do the self-build
375-
export RUSTC_BOOTSTRAP
375+
export RUSTC_BOOTSTRAP=1
376376
endif
377377
ifdef CFG_MUSL_ROOT
378378
export CFG_MUSL_ROOT

mk/tests.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3) = \
648648
--host $(3) \
649649
--docck-python $$(CFG_PYTHON) \
650650
--lldb-python $$(CFG_LLDB_PYTHON) \
651-
--gdb-version="$(CFG_GDB_VERSION)" \
651+
--gdb="$(CFG_GDB)" \
652652
--lldb-version="$(CFG_LLDB_VERSION)" \
653653
--llvm-version="$$(LLVM_VERSION_$(3))" \
654654
--android-cross-path=$(CFG_ARM_LINUX_ANDROIDEABI_NDK) \

src/Cargo.lock

Lines changed: 4 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)