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 13 pull requests #53197

Closed
wants to merge 36 commits into from
Closed

Rollup of 13 pull requests #53197

wants to merge 36 commits into from

Commits on Aug 5, 2018

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

Commits on Aug 6, 2018

  1. Configuration menu
    Copy the full SHA
    70cafec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8bb7bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b011b09 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. Configuration menu
    Copy the full SHA
    44d32d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43850e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6608552 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4eb52ff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d5f8edf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3a3b331 View commit details
    Browse the repository at this point in the history
  7. Make sure upstream object files are added to staticlibs when compiling

    with ThinLTO and cross-lang-lto.
    
    Normally, when compiling with whole-crate-graph ThinLTO, we expect
    rustc's LTO step to "uplift" upstream object files/LLVM modules to
    the current set of compilation artifacts. Therefore the staticlib
    creation code skips this uplifting. However, when compiling with
    "cross-language LTO" (i.e. defer LTO to the actual linker), the LTO
    step in rustc is not performed, so we have to take care of copying
    upstream object files during archive creation (like we already do
    when compiling without any LTO).
    michaelwoerister committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    aa9eeff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    54fba3a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    386e000 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3742f4d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f2969ed View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b27a161 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5ce865e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    020b073 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2018

  1. Avoid increased alignment of TLS segments on Fuchsia

    This is a temporary workaround for Fuchsia's libc not supporting
    TLS segments with alignments greater than 32 bytes. It should
    be reverted ASAP following the fix to libc.
    cramertj committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    877c469 View commit details
    Browse the repository at this point in the history
  2. add feature-gate test

    gnzlbg committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    2cdaf3b View commit details
    Browse the repository at this point in the history
  3. Suggest comma when missing in macro call

    When missing a comma in a macro call, suggest it, regardless of
    position. When a macro call doesn't match any of the patterns, check
    if the call's token stream could be missing a comma between two idents,
    and if so, create a new token stream containing the comma and try to
    match against the macro patterns. If successful, emit the suggestion.
    estebank committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    f4039af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3a70050 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9876e38 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#52773 - ljedrz:unncecessary_patterns, r=nik…

    …omatsakis
    
    Avoid unnecessary pattern matching against Option and Result
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    6f7a937 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#53031 - michaelwoerister:cross-lto, r=alexc…

    …richton
    
    Apply some fixes to cross-language LTO (especially when targeting MSVC)
    
    This PR contains a few fixes that were needed in order to get Firefox compiling with Rust/C++ cross-language ThinLTO on Windows. The commits are self-contained and should be self-explanatory.
    
    r? @alexcrichton
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    f6ecd18 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#53085 - ljedrz:cleanup_syntax_structures, r…

    …=Mark-Simulacrum
    
    Move SmallVector and ThinVec out of libsyntax
    
    - move `libsyntax::util::SmallVector` tests to `librustc_data_structures::small_vec`
    - remove `libsyntax::util::SmallVector`
    - move `libsyntax::util::thin_vec` to `librustc_data_structures::thin_vec`
    
    Other than moving these data structures where they belong it allows modules using `SmallVector<T>` (`SmallVec<[T; 1]>`) to specify their own length (e.g. 8 or 32) independently from `libsyntax`.
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    9da5d25 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#53094 - GuillaumeGomez:automatic-expand, r=nrc

    Automatically expand section if url id point to one of its component
    
    Fixes rust-lang#52517.
    
    r? @nrc
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    f3d57ef View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#53100 - VPashkov:issue-52456-improper_ctype…

    …s, r=eddyb
    
    Fix improper_ctypes lint for individual foreign items
    
    Fixes rust-lang#52456.
    
    r? @eddyb
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    c346391 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#53110 - Xanewok:save-analysis-remap-path, r…

    …=nrc
    
    Account for --remap-path-prefix in save-analysis
    
    Fixes rust-lang#52549.
    
    Didn't add a test since save-analysis is still unstable, only tested this locally. Should I add a test for that? If so, is run-make-fulldeps an appropriate format?
    
    Session is already created with remapped working directory, so use that instead of the actual cwd.
    This was the only place affected, since the rest of the paths in save-analysis are directly derived from files in spans from `sess.codemap()`, which already creates remapped ones.
    
    r? @nrc
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    e35ca13 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#53116 - jakllsch:netbsd-unsigned-char, r=al…

    …excrichton
    
    NetBSD: fix signedess of char
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    5d2deee View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#53131 - davidtwco:issue-52663-thread-local-…

    …static, r=nikomatsakis
    
    NLL says something "does not live long enough" when talking about a (thread-local) static
    
    Part of rust-lang#52663.
    
    r? @nikomatsakis
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    5cfdbae View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#53152 - michaelwoerister:reenable-drop-loca…

    …tion-debuginfo-test, r=kennytm
    
    Re-enable drop-locations debuginfo tests.
    
    The `-O -C no-prepopulate-passes` workaround doesn't seem to be needed anymore, so it works again for my version of GDB. Let's see what CI says.
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    42edec6 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#53154 - michaelwoerister:reenable-some-debu…

    …ginfo-tests, r=kennytm
    
    Re-enable a bunch of debuginfo tests.
    
    Re-enable some more debuginfo tests that actually seem to work.
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    197861a View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#53179 - gnzlbg:patch-3, r=alexcrichton

    Whitelist wasm32 simd128 target feature
    
    r? @alexcrichton
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    26511ef View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#53180 - cramertj:tls-align, r=alexcrichton

    Avoid increased alignment of TLS segments on Fuchsia
    
    This is a temporary workaround for Fuchsia's libc not supporting
    TLS segments with alignments greater than 32 bytes. It should
    be reverted ASAP following the fix to libc.
    
    cc @petrhosek
    
    r? @alexcrichton
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    1729652 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#53183 - estebank:println-comma, r=oli-obk

    Suggest comma when missing in macro call
    
    When missing a comma in a macro call, suggest it, regardless of
    position. When a macro call doesn't match any of the patterns, check
    if the call's token stream could be missing a comma between two idents,
    and if so, create a new token stream containing the comma and try to
    match against the macro patterns. If successful, emit the suggestion.
    
    This works on arbitrary macros, with no need of special support from
    the macro writers.
    
    ```
    error: no rules expected the token `d`
      --> $DIR/missing-comma.rs:26:18
       |
    LL |     foo!(a, b, c d, e);
       |                 -^
       |                 |
       |                 help: missing comma here
    ```
    Follow up to rust-lang#52397.
    cramertj authored Aug 8, 2018
    Configuration menu
    Copy the full SHA
    35f7927 View commit details
    Browse the repository at this point in the history