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 11 pull requests #66323

Merged
merged 23 commits into from
Nov 12, 2019
Merged

Rollup of 11 pull requests #66323

merged 23 commits into from
Nov 12, 2019

Commits on Nov 8, 2019

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

Commits on Nov 9, 2019

  1. bump openssl version

    to support newer versions of libressl in rust builds
    
    Co-authored-by: dylanaraps <dylan.araps@gmail.com>
    tesuji and dylanaraps committed Nov 9, 2019
    Configuration menu
    Copy the full SHA
    e6d72c3 View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    d153f4f View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2019

  1. make the error message more readable

    Guanqun Lu committed Nov 10, 2019
    Configuration menu
    Copy the full SHA
    fd7d342 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db1dd8f View commit details
    Browse the repository at this point in the history
  3. Move lock into CodeStats

    Prevent accidental too-long borrows by ensuring only encapsulated
    locking.
    Mark-Simulacrum committed Nov 10, 2019
    Configuration menu
    Copy the full SHA
    2c34f38 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af5f84f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    528b059 View commit details
    Browse the repository at this point in the history
  6. Fix HashSet::union performance

    Consider this example: small_set = 0..2, large_set = 0..1000.
    
    To efficiently compute the union of these sets, we should
    * take all elements of the larger set
    * for each element of the smaller set check it is not in the larger set
    
    This is exactly what this commit does.
    
    This particular optimization was implemented a year ago, but the
    author mistaken `<` and `>`.
    stepancheg committed Nov 10, 2019
    Configuration menu
    Copy the full SHA
    04a237b View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2019

  1. Fix error message about exported symbols from proc-macro crates

    Someone forgot to update the error message after `#[proc_macro]` and
    `#[proc_macro_attribute]` were stabilized.
    LukasKalbertodt committed Nov 11, 2019
    Configuration menu
    Copy the full SHA
    696ac95 View commit details
    Browse the repository at this point in the history
  2. support issue = "none" in unstable attributes

    - Use `Option<NonZeroU32>` to represent issue numbers.
    rossmacarthur committed Nov 11, 2019
    Configuration menu
    Copy the full SHA
    3ba8257 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7c42f0 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2019

  1. Rollup merge of rust-lang#65965 - GuillaumeGomez:clean-up-librustc_ty…

    …peck-error-codes, r=Mark-Simulacrum
    
    Clean up librustc_typeck error_codes file
    
    r? @Dylan-DPC
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    b850620 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#66230 - Axelderan:remove-vestigial-comments…

    …, r=alexcrichton
    
    remove vestigial comments referring to defunct numeric trait hierarchy
    
    I've been poking around the numeric trait hierarchy and also some of the actual numeric type implementations.
    
    This is a small change but a matter of effective communication.  I looked for other related references and saw none.
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    e7d2fa4 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#66241 - lzutao:ssl, r=alexcrichton

    bump openssl version
    
    Fixes rust-lang#65808
    
    This PR updates `openssl` and `openssl-sys` to support newer versions of `libressl` in `rust` builds.
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    86df2f6 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#66257 - mati865:long-section-names-no-more,…

    … r=alexcrichton
    
    Drop long-section-names linker workaround for windows-gnu
    
    If we can trust objdump Rust doesn't emit sections loaded at runtime longer than 8 characters on windows-gnu (but still does on linux-gnu), debug sections are not affected by that limit.
    I've ran tests and built few crates using exactly the same mingw-w64 version as Rusts CI just fine using **x86_64** toolchain.
    
    The motivation for this change is making LLD work (it doesn't support `--enable-long-section-names`) with this target without hacks.
    
    Bit of history:
    The behaviour of LD changed in Binutils 2.20 released on 2009-10-16 and `--enable-long-section-names` was added to return to the old non conformant behaviour. Looking at the comment I can only guess there was a bug fixed in newer versions.
    
    This workaround was added in rust-lang#13315 half a decade ago.
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    7596d34 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#66263 - guanqun:make-error-explicit, r=alex…

    …crichton
    
    make the error message more readable
    
    When I type it wrong e.g. `--stage --bless`, missing a number here, this change would make it more explicit what's going wrong here.
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    896484c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#66267 - GuillaumeGomez:add-rustdoc-doc, r=k…

    …innison
    
    Add rustdoc doc
    
    r? @kinnison
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    cde5637 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#66276 - Mark-Simulacrum:sess-code-stats, r=…

    …nikomatsakis
    
    Move lock into CodeStats
    
    Prevent (theoretical) accidental too-long borrows by ensuring only encapsulated locking.
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    dfd1122 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#66278 - LukasKalbertodt:fix-proc-macro-erro…

    …r, r=Centril
    
    Fix error message about exported symbols from proc-macro crates
    
    Someone forgot to update the error message after `#[proc_macro]` and
    `#[proc_macro_attribute]` were stabilized.
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    8e0265c View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#66280 - stepancheg:union, r=alexcrichton

    Fix HashSet::union performance
    
    Consider this example: small_set = 0..2, large_set = 0..1000.
    
    To efficiently compute the union of these sets, we should
    * take all elements of the larger set
    * for each element of the smaller set check it is not in the larger set
    
    This is exactly what this commit does.
    
    This particular optimization was implemented a year ago, but the
    author mistaken `<` and `>`.
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    6bdd1be View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#66299 - rossmacarthur:fix-41260-avoid-issue…

    …-0, r=varkor
    
    support issue = "none" in unstable attributes
    
    This works towards fixing rust-lang#41260.
    
    This PR allows the use of `issue = "none"` in unstable attributes and makes changes to internally store the issue number as an `Option<NonZeroU32>`. For example:
    
    ```rust
    #[unstable(feature = "unstable_test_feature", issue = "none")]
    fn unstable_issue_none() {}
    ```
    
    It was not made optional because feedback seen here rust-lang#60860 suggested that people might forget the issue field if it was optional.
    
    I could not remove the current uses of `issue = "0"` (of which there are a lot) because the stage 0 compiler expects the old syntax. Once this is available in the stage 0 compiler we can replace all uses of `"0"` with `"none"` and no longer allow `"0"`. This is my first time contributing, so I'm not sure what the protocol is with two-part things like this, so some guidance would be appreciated.
    
    r? @varkor
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    4134a4a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#66309 - petrochenkov:annoying, r=Mark-Simul…

    …acrum
    
    Tiny cleanup to size assertions
    
    The need to write `#[cfg(target_arch = "x86_64")]` twice mildly annoys me, the full paths look better in comparison.
    JohnTitor authored Nov 12, 2019
    Configuration menu
    Copy the full SHA
    420f926 View commit details
    Browse the repository at this point in the history