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 10 pull requests #37540

Merged
merged 22 commits into from
Nov 3, 2016
Merged

Rollup of 10 pull requests #37540

merged 22 commits into from
Nov 3, 2016

Commits on Oct 23, 2016

  1. Configuration menu
    Copy the full SHA
    5a2fb88 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2016

  1. Copyediting on documentation for write! and writeln!

    Fix various sentence fragments, missing articles, and other grammatical
    issues in the documentation for write! and writeln!.
    
    Also fix the links (and link names) for common return types.
    joshtriplett committed Oct 29, 2016
    Configuration menu
    Copy the full SHA
    07bff08 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2016

  1. Fix armv7 autodetection

    armv7l is armv7 architecture and CFG_CPUTYPE should be armv7 in order to end up
    with armv7-unknown-linux-gnueabihf.mk rather than
    arm-unknown-linux-gnueabihf.mk
    matwey committed Oct 30, 2016
    Configuration menu
    Copy the full SHA
    10ce90f View commit details
    Browse the repository at this point in the history
  2. Add armv6l autodetection

    Use arm-unknown-linux-gnueabihf for hardware floating point armv6 variant
    matwey committed Oct 30, 2016
    Configuration menu
    Copy the full SHA
    9b81f3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8c6d2c View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2016

  1. Remove unused type aliases

    sanxiyn committed Oct 31, 2016
    Configuration menu
    Copy the full SHA
    07c8a25 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b926e8d View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2016

  1. Configuration menu
    Copy the full SHA
    e3025a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6720e01 View commit details
    Browse the repository at this point in the history
  3. Improve "Doesn't live long enough" error

    case with different lifetime with spans
    mikhail-m1 committed Nov 1, 2016
    Configuration menu
    Copy the full SHA
    a0e7e35 View commit details
    Browse the repository at this point in the history
  4. Elide lifetimes in DerefMut documentation

     - Elide lifetimes to increase the readability
       of `DerefMut` examples
    d-unsed committed Nov 1, 2016
    Configuration menu
    Copy the full SHA
    7d5b788 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2016

  1. Configuration menu
    Copy the full SHA
    0e391bf View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#37351 - Amanieu:consume, r=alexcrichton

    Prevent exhaustive matching of Ordering to allow for future extension
    
    The C++11 atomic memory model defines a `memory_order_consume` ordering which is generally equivalent to `memory_order_acquire` but can allow better code generation by avoiding memory barrier instructions. Most compilers (including LLVM) currently do not implement this ordering directly and instead treat it identically to `memory_order_acquire`, including adding a memory barrier instruction.
    
    There is currently [work](http://open-std.org/Jtc1/sc22/wg21/docs/papers/2016/p0098r1.pdf) to support consume ordering in compilers, and it would be a shame if Rust did not support this. This PR therefore reserves a `__Nonexhaustive` variant in `Ordering` so that adding a new ordering is not a breaking change in the future.
    
    This is a [breaking-change] since it disallows exhaustive matching on `Ordering`, however a search of all Rust code on Github shows that there is no code that does this. This makes sense since `Ordering` is typically only used as a parameter to an atomic operation.
    Jonathan Turner authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    d00e5e9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#37405 - mikhail-m1:dnlle, r=jonathandturner

    Improve "Doesn't live long enough" error
    
    case with different lifetime scope
    
    issue rust-lang#36537 part of rust-lang#35233
    r? @jonathandturner
    Jonathan Turner authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    dbb2506 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#37473 - joshtriplett:doc-copyedit-write-wri…

    …teln, r=alexcrichton
    
    Copyediting on documentation for write! and writeln!
    
    Fix various sentence fragments, missing articles, and other grammatical issues in the documentation for write! and writeln!.
    
    Also fix the links (and link names) for common return types.
    
    (Noticed when preparing rust-lang#37472 ; posted separately to avoid mixing the new documentation with copyedits to existing documentation.)
    Jonathan Turner authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    3752673 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#37482 - matwey:configure-arm, r=alexcrichton

    Misc fixes for configure
    
    Currently,
    `./configure` at armv6 machines ends up with
    
    ```
    configure: error: unknown CPU type: armv6l
    ```
    
    `./configure` at armv7 machines **silently** produces build for armv6 (compatible, but suboptimal)
    
    ```
    configure: CFG_BUILD            := arm-unknown-linux-gnueabihf
    ```
    Jonathan Turner authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    0a20ec3 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#37488 - frewsxcv:quiet-travis, r=alexcrichton

    Use quieter test output when running tests on Travis CI.
    
    Fixes rust-lang#36788.
    Jonathan Turner authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    d2f4a9d View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#37498 - sanxiyn:unused-type-alias, r=eddyb

    Remove unused type aliases
    
    Found by extending the dead code lint. The lint itself is work in progress because of false positives.
    
    cc rust-lang#37455.
    Jonathan Turner authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    b333860 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#37502 - CryZe:patch-4, r=sfackler

    Add missing space in mutable_transmutes lint
    Jonathan Turner authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    62e026b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#37513 - michaelwoerister:hash-panic-spans, …

    …r=nikomatsakis
    
    ICH: Hash expression spans if their source location is captured for panics.
    
    Since the location of some expressions is captured in error message constants, it has an influence on machine code and consequently we need to take them into account by the incr. comp. hash. This PR makes this happen for `+, -, *, /, %` and for array indexing -- let me know if I forgot anything.
    
    In the future we might want to change the codegen strategy for those error messages, so that they are stored in a separate object file with a stable symbol name, so that only this object file has to be regenerated when source locations change. This strategy would also eliminate unnecessary duplications due  to monomorphization, as @arielb1 has pointed out on IRC. I opened rust-lang#37512, so we don't forget about this.
    
    r? @nikomatsakis
    Jonathan Turner authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    27f41b7 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#37517 - Mark-Simulacrum:add-unwrap-default-…

    …tracking-issue, r=alexcrichton
    
    Add tracking issue number to Result::unwrap_or_default unstable annotation.
    
    Implemented in rust-lang#37299.
    
    Tracking issue: rust-lang#37516.
    Jonathan Turner authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    805aecc View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#37523 - d-unseductable:deref_mut_lifetimes,…

    … r=bluss
    
    Elide lifetimes in DerefMut documentation
    
     - Elide lifetimes to increase the readability of `DerefMut` examples
    Jonathan Turner authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    0befab2 View commit details
    Browse the repository at this point in the history