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 19 pull requests #40867

Merged
merged 46 commits into from
Mar 29, 2017
Merged

Rollup of 19 pull requests #40867

merged 46 commits into from
Mar 29, 2017

Commits on Mar 23, 2017

  1. Configuration menu
    Copy the full SHA
    3ec61ea View commit details
    Browse the repository at this point in the history
  2. std: Don't cache stdio handles on Windows

    This alters the stdio code on Windows to always call `GetStdHandle` whenever the
    stdio read/write functions are called as this allows us to track changes to the
    value over time (such as if a process calls `SetStdHandle` while it's running).
    
    Closes rust-lang#40490
    alexcrichton committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    5ca8a73 View commit details
    Browse the repository at this point in the history
  3. convert custom_coerce_unsized_kind into a coerce_unsized_info

    This "on-demand" task both checks for errors and computes the custom
    unsized kind, if any. This task is only defined on impls of
    `CoerceUnsized`; invoking it on any other kind of impl results in a bug.
    This is just to avoid having an `Option`, could easily be changed.
    nikomatsakis committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    1a87fc2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8e6b10a View commit details
    Browse the repository at this point in the history
  5. convert inherent-impl-related things to on-demand queries

    There are now 3 queries:
    
    - inherent_impls(def-id): for a given type, get a `Rc<Vec<DefId>>` with
      all its inherent impls. This internally uses `crate_inherent_impls`,
      doing some hacks to keep the current deps (which, btw, are not clearly
      correct).
    - crate_inherent_impls(crate): gathers up a map from types
      to `Rc<Vec<DefId>>`, touching the entire krate, possibly generating
      errors.
    - crate_inherent_impls_overlap_check(crate): performs overlap checks
      between the inherent impls for a given type, generating errors.
    nikomatsakis committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    a29ae30 View commit details
    Browse the repository at this point in the history
  6. Update cargo submodule

    I'm not really sure what we want the cadence here to be. We'll at the very least
    update the Cargo submodule right before all releases, but otherwise I figured we
    could just do it whenever needed or otherwise weekly (or something like that).
    
    In any case, I don't have a super strong particular reason to do this, it's just
    been a week or so since the release!
    alexcrichton committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    b470354 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2017

  1. Configuration menu
    Copy the full SHA
    29a052d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b92255 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    779d2f3 View commit details
    Browse the repository at this point in the history
  4. Update libc to 0.2.21

    malbarbo committed Mar 25, 2017
    Configuration menu
    Copy the full SHA
    6344d08 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a7add43 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b45c631 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    33a6a07 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    64cd0be View commit details
    Browse the repository at this point in the history
  9. Change try! to ?

    donniebishop authored Mar 25, 2017
    Configuration menu
    Copy the full SHA
    fb5e63f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2e14bfe View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    24be899 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    53b7095 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    188299e View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2017

  1. Configuration menu
    Copy the full SHA
    6e6dec0 View commit details
    Browse the repository at this point in the history
  2. libcore: sort_unstable: improve randomization in break_patterns.

    Select 3 random points instead of just 1.
    Also the code now compiles on 16bit architectures.
    pftbest committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    fda8e15 View commit details
    Browse the repository at this point in the history
  3. Fixed spelling mistakes

    alanstoate authored Mar 26, 2017
    Configuration menu
    Copy the full SHA
    1579fbd View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2017

  1. Configuration menu
    Copy the full SHA
    737511e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79feb94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb447f4 View commit details
    Browse the repository at this point in the history
  4. rustbuild: Fix compiler docs again

    The docs need to be built with the rustbuild feature so the correct
    stability attributes (rustc_private) get applied.
    ollie27 committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    3545fb5 View commit details
    Browse the repository at this point in the history
  5. Fix broken Markdown and bad links in the error index

    This makes sure RFC links point to the RFC text not the pull request.
    ollie27 committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    99a069e View commit details
    Browse the repository at this point in the history
  6. appveyor: Downgrade MinGW to 6.2.0

    It looks like the 6.3.0 MinGW comes with a gdb which has issues (rust-lang#40184) that an
    attempted workaround (rust-lang#40777) does not actually fix (rust-lang#40835). The original
    motivation for upgradin MinGW was to fix build flakiness (rust-lang#40546) due to newer
    builds not exhibiting the same bug, so let's hope that 6.2.0 isn't too far back
    in time and still contains the fix we need.
    
    Closes rust-lang#40835
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    e87dd42 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#40317 - malbarbo:update-libc, r=alexcrichton

    Update libc to 0.2.21
    
    Update to include android aarch64 and x86 improvements.
    alexcrichton authored Mar 27, 2017
    Configuration menu
    Copy the full SHA
    e857e29 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#40516 - alexcrichton:no-cache-handles, r=at…

    …uron
    
    std: Don't cache stdio handles on Windows
    
    This alters the stdio code on Windows to always call `GetStdHandle` whenever the
    stdio read/write functions are called as this allows us to track changes to the
    value over time (such as if a process calls `SetStdHandle` while it's running).
    
    Closes rust-lang#40490
    alexcrichton authored Mar 27, 2017
    Configuration menu
    Copy the full SHA
    76cc08b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#40606 - oli-obk:interned_str_usability, r=j…

    …seyfried
    
    Improve `InternedString` usability
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    666bb19 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#40683 - nikomatsakis:incr-comp-coerce-unsiz…

    …ed-info, r=eddyb
    
    on-demand-ify `custom_coerce_unsized_kind` and `inherent-impls`
    
    This "on-demand" task both checks for errors and computes the custom unsized kind, if any. This task is only defined on impls of `CoerceUnsized`; invoking it on any other kind of impl results in a bug. This is just to avoid having an `Option`, could easily be changed.
    
    r? @eddyb
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    12f6c50 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#40751 - nrc:save-callback, r=eddyb

    save-analysis: allow clients to get data directly without writing to a file.
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    5137115 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#40778 - alexcrichton:update-cargo, r=alexcr…

    …ichton
    
    Update cargo submodule
    
    I'm not really sure what we want the cadence here to be. We'll at the very least
    update the Cargo submodule right before all releases, but otherwise I figured we
    could just do it whenever needed or otherwise weekly (or something like that).
    
    In any case, I don't have a super strong particular reason to do this, it's just
    been a week or so since the release!
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    bccd341 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#40813 - jseyfried:fix_expansion_regression,…

    … r=nrc
    
    macros: fix ICE on some nested macro definitions
    
    Fixes rust-lang#40770.
    r? @nrc
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    1fe2dfc View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#40818 - theotherphil:master, r=steveklabnik

    Don't stutter in operator trait descriptions
    
    Fixes first item on rust-lang#29365.
    
    r? @steveklabnik
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    bae772b View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#40819 - donniebishop:master, r=alexcrichton

    Link ParseBoolError to from_str method of bool
    
    Referencing task in rust-lang#29375. Sorry for not opening another branch on my fork for this. Was working on this early this morning and forgot to branch off master
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    84712fa View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#40824 - donniebishop:fromstr_docexample, r=…

    …steveklabnik
    
    FromStr implementation example
    
    Referencing rust-lang#29375. Added example implementation of FromStr trait to API Documentation
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    6b2c4bf View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#40828 - projektir:markdown_metadata, r=stev…

    …eklabnik
    
    rustdoc to accept `#` at the start of a markdown file rust-lang#40560
    
    This may be a bit odd if `#` and `%` lines are mixed up, but that's not something I've found while doing my search and replace.
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    4d93c12 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#40832 - pftbest:fix_msp430, r=stjepang

    libcore: fix compilation on 16bit target (MSP430).
    
    Since PR rust-lang#40601 has been merged, libcore no longer compiles on MSP430.
    The reason is this code in `break_patterns`:
    ```rust
     let mut random = len;
     random ^= random << 13;
     random ^= random >> 17;
     random ^= random << 5;
     random &= modulus - 1;
    ```
    It assumes that `len` is at least a 32 bit integer.
    As a workaround replace `break_patterns` with an empty function for 16bit targets.
    
    cc @stjepang
    cc @alexcrichton
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    5e9d918 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#40833 - Wallacoloo:doc_to_uppercase_typo, r…

    …=steveklabnik
    
    Fix typo in char::to_uppercase documentation
    
    Original documentation appears to have been copied from `char::to_lowercase` in a manner that made it imply that `char::to_uppercase` actually mapped unicode characters to their **lowercase** equivalent.
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    8cfc93f View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#40837 - alanstoate:ascii-docs, r=steveklabnik

    change string references in asciiext
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    498da9f View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#40849 - jseyfried:finalize_trait_macro_reso…

    …lutions, r=nrc
    
    bugfix: finalize resolutions of macros in trait positions
    
    Fixes rust-lang#40845.
    r? @nrc
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    68c7385 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#40852 - ollie27:rustbuild_compiler_docs, r=…

    …alexcrichton
    
    rustbuild: Fix compiler docs again
    
    The docs need to be built with the rustbuild feature so the correct
    stability attributes (rustc_private) get applied.
    
    r? @alexcrichton
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    700e2ea View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#40853 - ollie27:error-index, r=steveklabnik

    Fix broken Markdown and bad links in the error index
    
    This makes sure RFC links point to the RFC text not the pull request.
    
    r? @steveklabnik
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    0dbf84b View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#40865 - alexcrichton:downgrade-mingw, r=ari…

    …elb1
    
    appveyor: Downgrade MinGW to 6.2.0
    
    It looks like the 6.3.0 MinGW comes with a gdb which has issues (rust-lang#40184) that an
    attempted workaround (rust-lang#40777) does not actually fix (rust-lang#40835). The original
    motivation for upgradin MinGW was to fix build flakiness (rust-lang#40546) due to newer
    builds not exhibiting the same bug, so let's hope that 6.2.0 isn't too far back
    in time and still contains the fix we need.
    
    Closes rust-lang#40835
    alexcrichton committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    61928a0 View commit details
    Browse the repository at this point in the history