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 7 pull requests #59397

Merged
merged 16 commits into from
Mar 24, 2019
Merged

Rollup of 7 pull requests #59397

merged 16 commits into from
Mar 24, 2019

Commits on Feb 16, 2019

  1. implement nth_back for Box

    koalatux committed Feb 16, 2019
    Configuration menu
    Copy the full SHA
    4837fb4 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2019

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

Commits on Mar 15, 2019

  1. Track changes to robots.txt

    kornelski committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    fbc4326 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2019

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

Commits on Mar 19, 2019

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

Commits on Mar 21, 2019

  1. Fix undefined behavior in hint::spin_loop for x86 targets without SSE2

    The pause instruction requires SSE2 but was being unconditionally used
    on targets without it, resulting in undefined behavior.
    
    This PR fixes that by only using the pause intrinsic if SSE2 is available.
    
    It also removes the inline assembly which was not required since these
    instructions are available in core::arch, and extends support of
    the spin_loop hint to arm targets with the v6 feature which also
    support the yield instruction.
    
    Closes rust-lang#59237 .
    gnzlbg committed Mar 21, 2019
    Configuration menu
    Copy the full SHA
    830c98d View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2019

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

Commits on Mar 23, 2019

  1. Correct minimum system LLVM version in tests

    Since commit 9452a8d, the new debug info format is only generated
    for LLVM 8 and newer versions. However, the tests still assume that LLVM
    7 will use the new debug info format. Fix the tests (and a comment in
    the code) to match the actual version check.
    smaeul committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    8d3dd39 View commit details
    Browse the repository at this point in the history
  2. Use if let instead of match

    varkor committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    5032643 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2019

  1. Rollup merge of rust-lang#59213 - kornelski:robots, r=Mark-Simulacrum

    Track changes to robots.txt
    
    Currently `robots.txt` of doc.rust-lang.org is not part of any repo, so there's [no way to contribute any changes to it](https://internals.rust-lang.org/t/deadlock-about-fixing-outdated-documentation-links-in-search-engines/9374), such as needed for rust-lang#44894 and countless dupes of this issue.
    
    I propose adding it to this repo. I'm not in control of the infrastructure, so I can't help to automate deployment of it, but even just having the file under source control is IMHO a step forward.
    kennytm committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    6c5e1d1 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#59239 - gnzlbg:fix_spin_loop, r=nagisa

    Remove inline assembly from hint::spin_loop
    
    This PR removes the inline assembly which was not required since these
    instructions are available in core::arch, and extends support of
    the spin_loop hint to arm targets with the v6 feature which also
    support the yield instruction.
    kennytm committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    48dc8ef View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#59251 - matthewjasper:fix-graphviz, r=petro…

    …chenkov
    
    Use a valid name for graphviz graphs
    
    Hiridification has broken graphviz output because `HirId` has a more complex display implemetation than `NodeId`. Since the id was just used to generate a distinct identifier, we just pull out the various constituent indexed.
    kennytm committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    42b7d2c View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#59296 - petrochenkov:stdup, r=estebank

    Do not encode gensymed imports in metadata
    
    (Unless they are underscore `_` imports which are re-gensymed on crate loading, see rust-lang#56392.)
    
    We cannot encode gensymed imports properly in metadata and if we encode them improperly, we can get erroneous name conflicts downstream.
    Gensymed imports are produced by the compiler, so we control their set, and can be sure that none of them needs being encoded for use from other crates.
    
    A workaround that fixes rust-lang#59243.
    kennytm committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    1d286f7 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#59328 - koalatux:iter-nth-back, r=scottmcm

    Implement specialized nth_back() for Box and Windows.
    
    Hi there, this is my first pull request to rust :-)
    
    I started implementing some specializations for DoubleEndedIterator::nth_back() and these are the first two. The problem has been discussed in rust-lang#54054 and nth_back() is tracked in rust-lang#56995.
    
    I'm stuck with the next implementation so I though I do a PR for the ones I'm confident with to get some feedback.
    kennytm committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    cb2dde6 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#59355 - varkor:const-param-struct-ice, r=pe…

    …trochenkov
    
    Fix ICE with const generic param in struct
    
    Fixes rust-lang#59340.
    
    r? @petrochenkov
    kennytm committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    70cf325 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#59377 - smaeul:patch/system-llvm, r=nikic

    Correct minimum system LLVM version in tests
    
    Since commit 9452a8d, the new debug info format is only generated
    for LLVM 8 and newer versions. However, the tests still assume that LLVM
    7 will use the new debug info format. Fix the tests (and a comment in
    the code) to match the actual version check.
    kennytm committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    00478a0 View commit details
    Browse the repository at this point in the history