Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 28 pull requests #39199

Merged
merged 63 commits into from
Jan 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
20fd6cc
Add 'platform-specific' section to `sleep_ms` to match `sleep`.
frewsxcv Jan 1, 2017
c02d577
Improve the warning cycle for `use $crate;`.
jseyfried Jan 15, 2017
6162637
travis: Add i586 linux and i686 musl
alexcrichton Jan 14, 2017
f6c0c48
Refactor `proc_macro::TokenStream` to use `syntax::tokenstream::Token…
abonander Jan 8, 2017
2d52cb9
appveyor: Test/Dist i586 MSVC
alexcrichton Jan 17, 2017
baff51c
travis: Tweak OSX image configuration
alexcrichton Jan 17, 2017
6b23cc4
travis: Expand the `cross` linux image
alexcrichton Jan 16, 2017
f2d1407
Remove field `tokens_consumed` of `Parser`.
jseyfried Jan 17, 2017
375cbd2
Implement `#[proc_macro_attribute]`
abonander Jan 9, 2017
6843961
Fix `feature_gate::find_lang_feature_issue()` to not use `unwrap()`
abonander Jan 17, 2017
04ecee1
Move "completed feature gate checking" pass to after "name resolution…
abonander Jan 16, 2017
6466f55
Give the `StringReader` a `sess: &ParseSess`.
jseyfried Jan 17, 2017
de46b24
Introduce `string_reader.parse_all_token_trees()`.
jseyfried Jan 12, 2017
debcbf0
Refactor the parser to consume token trees.
jseyfried Jan 13, 2017
6a9248f
Clean up `ext::tt::transcribe`.
jseyfried Jan 14, 2017
57c0ed0
Avoid interpolated token trees.
jseyfried Jan 14, 2017
1080a69
travis: Pass --enable-llvm-static-stdcpp
alexcrichton Jan 16, 2017
3d85f73
Clarify when range is removed by drain
TheCycoONE Jan 17, 2017
4c98e1b
Remove the lookahead buffer.
jseyfried Jan 14, 2017
0b9e26f
Fix fallout in `rustdoc`.
jseyfried Jan 17, 2017
9fd3860
Fix ICE when compiling fn f<T: ?for<'a> Sized>() {}
Jan 17, 2017
a0a4af1
1.15 release notes
brson Jan 10, 2017
d25f066
run rustdoc tests in the same sort of thread rustc runs in
nikomatsakis Jan 17, 2017
f57d5ad
check inherent impls of traits for overlap as well
nikomatsakis Jan 17, 2017
92e98a0
travis: Fix post-failure lldb invocation
alexcrichton Jan 18, 2017
deeba34
Add regression test for debuginfo + LTO
michaelwoerister Jan 18, 2017
265bd53
Update jemalloc to include various fixes for OSX 10.12
glandium Jan 19, 2017
c457b81
travis: Stop uploading sha256 files
alexcrichton Jan 19, 2017
2883186
Use multiline Diagnostic for candidate in other module
estebank Jan 19, 2017
853f697
Fix regression in parsing of trait object types
petrochenkov Jan 19, 2017
e8f9d2d
travis: Get an emscripten builder online
alexcrichton Jan 17, 2017
0a7420a
travis: Move glibc backwards in time
alexcrichton Jan 19, 2017
b9765c0
trans: Exit earlier from base::trans_crate() when compiling rmeta cra…
michaelwoerister Jan 19, 2017
2c9c70f
Deny extra_requirement_in_impl forward-compat lint
nagisa Jan 19, 2017
a7274e7
Add regression test for issue #38942
michaelwoerister Jan 19, 2017
437d2b5
Rollup merge of #38761 - frewsxcv:thread-sleep-formatting, r=alexcric…
alexcrichton Jan 19, 2017
d4d276f
Rollup merge of #38842 - abonander:proc_macro_attribute, r=jseyfried
alexcrichton Jan 19, 2017
18a39ed
Rollup merge of #38966 - brson:relnotes, r=brson
alexcrichton Jan 19, 2017
0c71174
Rollup merge of #39068 - alexcrichton:more-small-tests, r=brson
alexcrichton Jan 19, 2017
bef5ff1
Rollup merge of #39077 - jseyfried:crate_var_imports, r=nrc
alexcrichton Jan 19, 2017
4a298dd
Rollup merge of #39111 - alexcrichton:more-cross-targets, r=brson
alexcrichton Jan 19, 2017
86605c4
Rollup merge of #39112 - alexcrichton:i586-msvc, r=nikomatsakis
alexcrichton Jan 19, 2017
dd5d85e
Rollup merge of #39114 - alexcrichton:fix-osx-image, r=brson
alexcrichton Jan 19, 2017
17294d9
Rollup merge of #39118 - jseyfried:token_tree_based_parser, r=nrc
alexcrichton Jan 19, 2017
b174920
Rollup merge of #39120 - alexcrichton:emscripten-tests, r=brson
alexcrichton Jan 19, 2017
1054171
Rollup merge of #39132 - alexcrichton:static-libstdcpp, r=japaric
alexcrichton Jan 19, 2017
a7ac69a
Rollup merge of #39135 - TheCycoONE:vec_drain_doc, r=alexcrichton
alexcrichton Jan 19, 2017
1e1df64
Rollup merge of #39138 - gralpli:issue-39089, r=nrc
alexcrichton Jan 19, 2017
e1129b7
Rollup merge of #39142 - nikomatsakis:issue-38973, r=brson
alexcrichton Jan 19, 2017
c6e4faa
Rollup merge of #39143 - nikomatsakis:issue-38967, r=eddyb
alexcrichton Jan 19, 2017
254380e
Rollup merge of #39146 - alexcrichton:fix-osx-debug, r=michaelwoerister
alexcrichton Jan 19, 2017
2fd401d
Rollup merge of #39157 - michaelwoerister:debug-lto, r=alexcrichton
alexcrichton Jan 19, 2017
d5102e4
Rollup merge of #39166 - glandium:master, r=brson
alexcrichton Jan 19, 2017
a759406
Rollup merge of #39167 - alexcrichton:no-more-sha, r=brson
alexcrichton Jan 19, 2017
f185265
Rollup merge of #39168 - estebank:multiline-candidate, r=petrochenkov
alexcrichton Jan 19, 2017
465a0d1
Rollup merge of #39179 - petrochenkov:objparen, r=eddyb
alexcrichton Jan 19, 2017
c2f1b02
Rollup merge of #39184 - michaelwoerister:no-trans-items-for-meta-cra…
alexcrichton Jan 19, 2017
5a4658d
Rollup merge of #39195 - nagisa:deny-extra-requirement-in-impl, r=eddyb
alexcrichton Jan 19, 2017
672d599
Rollup merge of #39197 - michaelwoerister:test-38942, r=alexcrichton
alexcrichton Jan 19, 2017
1f342a6
Test fixes from the rollup
alexcrichton Jan 20, 2017
5e8d7a4
Merge branch 'older-glibc' into rollup
alexcrichton Jan 20, 2017
72c3148
More test fixes from rollup
alexcrichton Jan 20, 2017
8bee398
appveyor: Don't test i586 MSVC binaries yet
alexcrichton Jan 21, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ git:
depth: 1
submodules: false

osx_image: xcode8.2

matrix:
fast_finish: true
include:
# Linux builders, all docker images
- env: IMAGE=arm-android DEPLOY=1
- env: IMAGE=android DEPLOY=1
- env: IMAGE=cross DEPLOY=1
- env: IMAGE=linux-tested-targets DEPLOY=1
- env: IMAGE=dist-arm-linux DEPLOY=1
- env: IMAGE=dist-armv7-aarch64-linux DEPLOY=1
- env: IMAGE=dist-freebsd DEPLOY=1
Expand All @@ -23,16 +23,17 @@ matrix:
- env: IMAGE=dist-powerpc-linux DEPLOY=1
- env: IMAGE=dist-powerpc64-linux DEPLOY=1
- env: IMAGE=dist-s390x-linux-netbsd DEPLOY=1
- env: IMAGE=i686-gnu DEPLOY=1
- env: IMAGE=dist-x86-linux DEPLOY=1
- env: IMAGE=emscripten
- env: IMAGE=i686-gnu
- env: IMAGE=i686-gnu-nopt
- env: IMAGE=x86_64-gnu DEPLOY=1
- env: IMAGE=x86_64-gnu
- env: IMAGE=x86_64-gnu-full-bootstrap
- env: IMAGE=x86_64-gnu-aux
- env: IMAGE=x86_64-gnu-debug
- env: IMAGE=x86_64-gnu-nopt
- env: IMAGE=x86_64-gnu-make
- env: IMAGE=x86_64-gnu-llvm-3.7 ALLOW_PR=1 RUST_BACKTRACE=1
- env: IMAGE=x86_64-musl DEPLOY=1
- env: IMAGE=x86_64-gnu-distcheck

# OSX builders
Expand All @@ -41,6 +42,7 @@ matrix:
RUST_CONFIGURE_ARGS=--build=x86_64-apple-darwin
SRC=.
os: osx
osx_image: xcode8.2
before_script: &osx_before_script >
ulimit -c unlimited
install: &osx_install_sccache >
Expand All @@ -50,7 +52,7 @@ matrix:
echo 'bt all' > cmds;
for file in $(ls /cores); do
echo core file $file;
lldb -c $file `which ld` -b -s cmds;
lldb -c /cores/$file `which ld` -b -s cmds;
done

- env: >
Expand All @@ -59,6 +61,7 @@ matrix:
SRC=.
DEPLOY=1
os: osx
osx_image: xcode8.2
before_script: *osx_before_script
install: *osx_install_sccache
after_failure: *osx_after_failure
Expand All @@ -67,6 +70,7 @@ matrix:
RUST_CONFIGURE_ARGS=--build=x86_64-apple-darwin --disable-rustbuild
SRC=.
os: osx
osx_image: xcode8.2
before_script: *osx_before_script
install: *osx_install_sccache
after_failure: *osx_after_failure
Expand All @@ -76,6 +80,7 @@ matrix:
SRC=.
DEPLOY=1
os: osx
osx_image: xcode8.2
before_script: *osx_before_script
install: *osx_install_sccache
after_failure: *osx_after_failure
Expand Down Expand Up @@ -119,11 +124,9 @@ before_deploy:
- mkdir -p deploy/$TRAVIS_COMMIT
- >
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
cp build/dist/*.tar.gz deploy/$TRAVIS_COMMIT &&
find "deploy/$TRAVIS_COMMIT" -maxdepth 1 -type f -exec sh -c 'shasum -a 256 -b "{}" > "{}.sha256"' \;;
cp build/dist/*.tar.gz deploy/$TRAVIS_COMMIT;
else
cp obj/build/dist/*.tar.gz deploy/$TRAVIS_COMMIT &&
find "deploy/$TRAVIS_COMMIT" -maxdepth 1 -type f -exec sh -c 'sha256sum -b "{}" > "{}.sha256"' \;;
cp obj/build/dist/*.tar.gz deploy/$TRAVIS_COMMIT;
fi

deploy:
Expand Down
241 changes: 241 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,244 @@
Version 1.15.0 (2017-02-02)
===========================

Language
--------

* Basic procedural macros allowing custom `#[derive]`, aka "macros 1.1", are
stable. This allows popular code-generating crates like Serde and Diesel to
work ergonomically. [RFC 1681].
* [Tuple structs may be empty. Unary and empty tuple structs may be instantiated
with curly braces][36868]. Part of [RFC 1506].
* [A number of minor changes to name resolution have been activated][37127].
They add up to more consistent semantics, allowing for future evolution of
Rust macros. Specified in [RFC 1560], see its section on ["changes"] for
details of what is different. The breaking changes here have been transitioned
through the [`legacy_imports`] lint since 1.14, with no known regressions.
* [In `macro_rules`, `path` fragments can now be parsed as type parameter
bounds][38279]
* [`?Sized` can be used in `where` clauses][37791]
* [There is now a limit on the size of monomorphized types and it can be
modified with the `#![type_size_limit]` crate attribute, similarly to
the `#![recursion_limit]` attribute][37789]

Compiler
--------

* [On Windows, the compiler will apply dllimport attributes when linking to
extern functions][37973]. Additional attributes and flags can control which
library kind is linked and its name. [RFC 1717].
* [Rust-ABI symbols are no longer exported from cdylibs][38117]
* [The `--test` flag works with procedural macro crates][38107]
* [Fix `extern "aapcs" fn` ABI][37814]
* [The `-C no-stack-check` flag is deprecated][37636]. It does nothing.
* [The `format!` expander recognizes incorrect `printf` and shell-style
formatting directives and suggests the correct format][37613].
* [Only report one error for all unused imports in an import list][37456]

Compiler Performance
--------------------

* [Avoid unnecessary `mk_ty` calls in `Ty::super_fold_with`][37705]
* [Avoid more unnecessary `mk_ty` calls in `Ty::super_fold_with`][37979]
* [Don't clone in `UnificationTable::probe`][37848]
* [Remove `scope_auxiliary` to cut RSS by 10%][37764]
* [Use small vectors in type walker][37760]
* [Macro expansion performance was improved][37701]
* [Change `HirVec<P<T>>` to `HirVec<T>` in `hir::Expr`][37642]
* [Replace FNV with a faster hash function][37229]

Stabilized APIs
---------------

* [`std::iter::Iterator::min_by`]
* [`std::iter::Iterator::max_by`]
* [`std::os::*::fs::FileExt`]
* [`std::sync::atomic::Atomic*::get_mut`]
* [`std::sync::atomic::Atomic*::into_inner`]
* [`std::vec::IntoIter::as_slice`]
* [`std::vec::IntoIter::as_mut_slice`]
* [`std::sync::mpsc::Receiver::try_iter`]
* [`std::os::unix::process::CommandExt::before_exec`]
* [`std::rc::Rc::strong_count`]
* [`std::rc::Rc::weak_count`]
* [`std::sync::Arc::strong_count`]
* [`std::sync::Arc::weak_count`]
* [`std::char::encode_utf8`]
* [`std::char::encode_utf16`]
* [`std::cell::Ref::clone`]
* [`std::io::Take::into_inner`]

Libraries
---------

* [The standard sorting algorithm has been rewritten for dramatic performance
improvements][38192]. It is a hybrid merge sort, drawing influences from
Timsort. Previously it was a naive merge sort.
* [`Iterator::nth` no longer has a `Sized` bound][38134]
* [`Extend<&T>` is specialized for `Vec` where `T: Copy`][38182] to improve
performance.
* [`chars().count()` is much faster][37888] and so are [`chars().last()`
and `char_indices().last()`][37882]
* [Fix ARM Objective-C ABI in `std::env::args`][38146]
* [Chinese characters display correctly in `fmt::Debug`][37855]
* [Derive `Default` for `Duration`][37699]
* [Support creation of anonymous pipes on WinXP/2k][37677]
* [`mpsc::RecvTimeoutError` implements `Error`][37527]
* [Don't pass overlapped handles to processes][38835]

Cargo
-----

* [In this release, Cargo build scripts no longer have access to the `OUT_DIR`
environment variable at build time via `env!("OUT_DIR")`][cargo/3368]. They
should instead check the variable at runtime with `std::env`. That the value
was set at build time was a bug, and incorrect when cross-compiling. This
change is known to cause breakage.
* [Add `--all` flag to `cargo test`][cargo/3221]
* [Compile statically against the MSVC CRT][cargo/3363]
* [Mix feature flags into fingerprint/metadata shorthash][cargo/3102]
* [Link OpenSSL statically on OSX][cargo/3311]
* [Apply new fingerprinting to build dir outputs][cargo/3310]
* [Test for bad path overrides with summaries][cargo/3336]
* [Require `cargo install --vers` to take a semver version][cargo/3338]
* [Fix retrying crate downloads for network errors][cargo/3348]
* [Implement string lookup for `build.rustflags` config key][cargo/3356]
* [Emit more info on --message-format=json][cargo/3319]
* [Assume `build.rs` in the same directory as `Cargo.toml` is a build script][cargo/3361]
* [Don't ignore errors in workspace manifest][cargo/3409]
* [Fix `--message-format JSON` when rustc emits non-JSON warnings][cargo/3410]

Tooling
-------

* [Test runners (binaries built with `--test`) now support a `--list` argument
that lists the tests it contains][38185]
* [Test runners now support a `--exact` argument that makes the test filter
match exactly, instead of matching only a substring of the test name][38181]
* [rustdoc supports a `--playground-url` flag][37763]
* [rustdoc provides more details about `#[should_panic]` errors][37749]

Misc
----

* [The Rust build system is now written in Rust][37817]. The Makefiles may
continue to be used in this release by passing `--disable-rustbuild` to the
configure script, but they will be deleted soon. Note that the new build
system uses a different on-disk layout that will likely affect any scripts
building Rust.
* [Rust supports i686-unknown-openbsd][38086]. Tier 3 support. No testing or
releases.
* [Rust supports the MSP430][37627]. Tier 3 support. No testing or releases.
* [Rust supports the ARMv5TE architecture][37615]. Tier 3 support. No testing or
releases.

Compatibility Notes
-------------------

* [A number of minor changes to name resolution have been activated][37127].
They add up to more consistent semantics, allowing for future evolution of
Rust macros. Specified in [RFC 1560], see its section on ["changes"] for
details of what is different. The breaking changes here have been transitioned
through the [`legacy_imports`] lint since 1.14, with no known regressions.
* [In this release, Cargo build scripts no longer have access to the `OUT_DIR`
environment variable at build time via `env!("OUT_DIR")`][cargo/3368]. They
should instead check the variable at runtime with `std::env`. That the value
was set at build time was a bug, and incorrect when cross-compiling. This
change is known to cause breakage.
* [Higher-ranked lifetimes are no longer allowed to appear _only_ in associated
types][33685]. The [`hr_lifetime_in_assoc_type` lint] has been a warning since
1.10 and is now an error by default. It will become a hard error in the near
future.
* [The semantics relating modules to file system directories are changing in
minor ways][37602]. This is captured in the new `legacy_directory_ownership`
lint, which is a warning in this release, and will become a hard error in the
future.
* [Rust-ABI symbols are no longer exported from cdylibs][38117]
* [Once `Peekable` peeks a `None` it will return that `None` without re-querying
the underlying iterator][37834]

["changes"]: https://github.com/rust-lang/rfcs/blob/master/text/1560-name-resolution.md#changes-to-name-resolution-rules
[33685]: https://github.com/rust-lang/rust/issues/33685
[36868]: https://github.com/rust-lang/rust/pull/36868
[37127]: https://github.com/rust-lang/rust/pull/37127
[37229]: https://github.com/rust-lang/rust/pull/37229
[37456]: https://github.com/rust-lang/rust/pull/37456
[37527]: https://github.com/rust-lang/rust/pull/37527
[37602]: https://github.com/rust-lang/rust/pull/37602
[37613]: https://github.com/rust-lang/rust/pull/37613
[37615]: https://github.com/rust-lang/rust/pull/37615
[37636]: https://github.com/rust-lang/rust/pull/37636
[37642]: https://github.com/rust-lang/rust/pull/37642
[37677]: https://github.com/rust-lang/rust/pull/37677
[37699]: https://github.com/rust-lang/rust/pull/37699
[37701]: https://github.com/rust-lang/rust/pull/37701
[37705]: https://github.com/rust-lang/rust/pull/37705
[37749]: https://github.com/rust-lang/rust/pull/37749
[37760]: https://github.com/rust-lang/rust/pull/37760
[37763]: https://github.com/rust-lang/rust/pull/37763
[37764]: https://github.com/rust-lang/rust/pull/37764
[37789]: https://github.com/rust-lang/rust/pull/37789
[37791]: https://github.com/rust-lang/rust/pull/37791
[37814]: https://github.com/rust-lang/rust/pull/37814
[37817]: https://github.com/rust-lang/rust/pull/37817
[37834]: https://github.com/rust-lang/rust/pull/37834
[37848]: https://github.com/rust-lang/rust/pull/37848
[37855]: https://github.com/rust-lang/rust/pull/37855
[37882]: https://github.com/rust-lang/rust/pull/37882
[37888]: https://github.com/rust-lang/rust/pull/37888
[37973]: https://github.com/rust-lang/rust/pull/37973
[37979]: https://github.com/rust-lang/rust/pull/37979
[38086]: https://github.com/rust-lang/rust/pull/38086
[38107]: https://github.com/rust-lang/rust/pull/38107
[38117]: https://github.com/rust-lang/rust/pull/38117
[38134]: https://github.com/rust-lang/rust/pull/38134
[38146]: https://github.com/rust-lang/rust/pull/38146
[38181]: https://github.com/rust-lang/rust/pull/38181
[38182]: https://github.com/rust-lang/rust/pull/38182
[38185]: https://github.com/rust-lang/rust/pull/38185
[38192]: https://github.com/rust-lang/rust/pull/38192
[38279]: https://github.com/rust-lang/rust/pull/38279
[38835]: https://github.com/rust-lang/rust/pull/38835
[RFC 1492]: https://github.com/rust-lang/rfcs/blob/master/text/1492-dotdot-in-patterns.md
[RFC 1506]: https://github.com/rust-lang/rfcs/blob/master/text/1506-adt-kinds.md
[RFC 1560]: https://github.com/rust-lang/rfcs/blob/master/text/1560-name-resolution.md
[RFC 1681]: https://github.com/rust-lang/rfcs/blob/master/text/1681-macros-1.1.md
[RFC 1717]: https://github.com/rust-lang/rfcs/blob/master/text/1717-dllimport.md
[`hr_lifetime_in_assoc_type` lint]: https://github.com/rust-lang/rust/issues/33685
[`legacy_imports`]: https://github.com/rust-lang/rust/pull/38271
[cargo/3102]: https://github.com/rust-lang/cargo/pull/3102
[cargo/3221]: https://github.com/rust-lang/cargo/pull/3221
[cargo/3310]: https://github.com/rust-lang/cargo/pull/3310
[cargo/3311]: https://github.com/rust-lang/cargo/pull/3311
[cargo/3319]: https://github.com/rust-lang/cargo/pull/3319
[cargo/3336]: https://github.com/rust-lang/cargo/pull/3336
[cargo/3338]: https://github.com/rust-lang/cargo/pull/3338
[cargo/3348]: https://github.com/rust-lang/cargo/pull/3348
[cargo/3356]: https://github.com/rust-lang/cargo/pull/3356
[cargo/3361]: https://github.com/rust-lang/cargo/pull/3361
[cargo/3363]: https://github.com/rust-lang/cargo/pull/3363
[cargo/3368]: https://github.com/rust-lang/cargo/issues/3368
[cargo/3409]: https://github.com/rust-lang/cargo/pull/3409
[cargo/3410]: https://github.com/rust-lang/cargo/pull/3410
[`std::iter::Iterator::min_by`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.min_by
[`std::iter::Iterator::max_by`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.max_by
[`std::os::*::fs::FileExt`]: https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html
[`std::sync::atomic::Atomic*::get_mut`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU8.html#method.get_mut
[`std::sync::atomic::Atomic*::into_inner`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU8.html#method.into_inner
[`std::vec::IntoIter::as_slice`]: https://doc.rust-lang.org/std/vec/struct.IntoIter.html#method.as_slice
[`std::vec::IntoIter::as_mut_slice`]: https://doc.rust-lang.org/std/vec/struct.IntoIter.html#method.as_mut_slice
[`std::sync::mpsc::Receiver::try_iter`]: https://doc.rust-lang.org/std/sync/mpsc/struct.Receiver.html#method.try_iter
[`std::os::unix::process::CommandExt::before_exec`]: https://doc.rust-lang.org/std/os/unix/process/trait.CommandExt.html#tymethod.before_exec
[`std::rc::Rc::strong_count`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.strong_count
[`std::rc::Rc::weak_count`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.weak_count
[`std::sync::Arc::strong_count`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.strong_count
[`std::sync::Arc::weak_count`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.weak_count
[`std::char::encode_utf8`]: https://doc.rust-lang.org/std/primitive.char.html#method.encode_utf8
[`std::char::encode_utf16`]: https://doc.rust-lang.org/std/primitive.char.html#method.encode_utf16
[`std::cell::Ref::clone`]: https://doc.rust-lang.org/std/cell/struct.Ref.html#method.clone
[`std::io::Take::into_inner`]: https://doc.rust-lang.org/std/io/struct.Take.html#method.into_inner


Version 1.14.0 (2016-12-22)
===========================

Expand Down
12 changes: 6 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ environment:
SCRIPT: python x.py test && python x.py dist
DEPLOY: 1
- MSYS_BITS: 32
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
SCRIPT: python x.py test && python x.py dist
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc --target=i586-pc-windows-msvc
SCRIPT: python x.py test --host i686-pc-windows-msvc --target i686-pc-windows-msvc && python x.py dist
DEPLOY: 1

# MSVC makefiles
Expand Down Expand Up @@ -73,6 +73,9 @@ environment:
MINGW_DIR: mingw64
DEPLOY: 1

matrix:
fast_finish: true

clone_depth: 1
build: false

Expand Down Expand Up @@ -131,9 +134,6 @@ before_deploy:
- ps: |
New-Item -Path deploy -ItemType directory
Get-ChildItem -Path build\dist -Filter '*.tar.gz' | Move-Item -Destination deploy
Get-FileHash .\deploy\* | ForEach-Object {
[io.file]::WriteAllText($_.Path + ".sha256", $_.Hash.ToLower() + "`n")
}
Get-ChildItem -Path deploy | Foreach-Object {
Push-AppveyorArtifact $_.FullName -FileName ${env:APPVEYOR_REPO_COMMIT}/$_
}
Expand All @@ -147,7 +147,7 @@ deploy:
bucket: rust-lang-ci
set_public: true
region: us-east-1
artifact: /.*\.(tar.gz|sha256)/
artifact: /.*\.tar.gz/
folder: rustc-builds
on:
branch: auto
Expand Down
8 changes: 6 additions & 2 deletions src/bootstrap/cc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,14 @@ fn set_compiler(cfg: &mut gcc::Config,
}

"mips-unknown-linux-musl" => {
cfg.compiler("mips-linux-musl-gcc");
if cfg.get_compiler().path().to_str() == Some("gcc") {
cfg.compiler("mips-linux-musl-gcc");
}
}
"mipsel-unknown-linux-musl" => {
cfg.compiler("mipsel-linux-musl-gcc");
if cfg.get_compiler().path().to_str() == Some("gcc") {
cfg.compiler("mipsel-linux-musl-gcc");
}
}

t if t.contains("musl") => {
Expand Down
Loading