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 #62363

Closed
wants to merge 31 commits into from
Closed

Commits on Jun 25, 2019

  1. rustc: codegen: Build import library for all windows targets

    So far it is assumed that using a DLL as a -l parameter argument is ok,
    but the assumption doesn't hold when compiling the native code with
    llvm.
    In which case, an import library is required, so let's build one
    This also requires the cargo counterpart to add the import library in
    the stamp files, at least when compiling libstd. Otherwise, the files
    don't get uplifted
    chouquette committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    1c6b4d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1b6716 View commit details
    Browse the repository at this point in the history
  3. bootstrap: Build startup object for all windows-gnu target

    So that uwp-windows-gnu also gets its startup objects built
    chouquette committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    863cd6b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e5d7043 View commit details
    Browse the repository at this point in the history
  5. libunwind: Use libunwind when targeting UWP

    libgcc's support is using forbidden functions
    chouquette committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    98f9bba View commit details
    Browse the repository at this point in the history
  6. std: rand: Use BCrypt on UWP

    As Rtl* functions are not allowed there
    chouquette committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    20eb746 View commit details
    Browse the repository at this point in the history
  7. std: win: Don't use SetHandleInformation on UWP

    Attempt to create sockets with the WSA_FLAG_NO_HANDLE_INHERIT flag, and
    handle the potential error gracefully (as the flag isn't support on
    Windows 7 before SP1)
    chouquette committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    0f15466 View commit details
    Browse the repository at this point in the history
  8. std: win: Don't expose link() on UWP

    Or rather expose it, but always return an error
    chouquette committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    5466e9f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b514557 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    07d11ae View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a7ad699 View commit details
    Browse the repository at this point in the history
  12. std: win: Disable stack overflow handling on UWP

    The required functions are not available, so hope for the best
    chouquette committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    1a0a263 View commit details
    Browse the repository at this point in the history
  13. Add UWP targets

    chouquette committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    1726259 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2019

  1. Update rustfmt to 1.3.1

    topecongiro committed Jun 30, 2019
    Configuration menu
    Copy the full SHA
    9e2714a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ffb643 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4e7eb2 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. Check if the archive has already been added to avoid duplicates

    This avoids adding archives multiple times, which results in duplicate
    objects in the resulting rlib, leading to symbol collision and link
    failures. This could happen when crate contains multiple link attributes
    that all reference the same archive.
    petrhosek committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    069c52f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9344e3 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. Configuration menu
    Copy the full SHA
    de8bf5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    848962f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    096a2a2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb7fbb9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    43315bc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3eef0cb View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

  1. Rollup merge of rust-lang#60260 - videolabs:rust_uwp2, r=alexcrichton

    Add support for UWP targets
    
    Hi,
    
    This pull request aims at adding support for UWP (Universal Windows Apps) platform.
    A few notes:
    - This requires a very recent mingw-w64 version (containing this commit and the previous related ones: mirror/mingw-w64@e8c433c#diff-eefdfbfe9cec5f4ebab88c9a64d423a9)
    - This was tested using LLVM/clang rather than gcc, and so far it assumes that LLVM/clang will be the native compiler. This is mostly due to the fact that the support for exceptions/stack unwinding for UWP got much more attention in libunwind
    - The "uwp" part of the target needs support for it in the `cc-rs` & `backtrace-rs` crates. I'll create the MR there right after I submit this one and will link everything together, but I'm not sure what's the correct way of dealing with external dependencies in the context of rust
    - Enabling import libraries and copying them across stages requires a change in cargo, for which I'll open a MR right after I submit this one as well
    - The i686 stack unwinding is unsupported for now, because LLVM assumes SjLj, while rust seems to assume SEH will be used. I'm unsure how to fix this
    
    Also, this is my first encounter with rust, so please bear with my code, it might not feel so idiomatic or even correct :)
    
    I'm pretty sure there's a way of doing things in a cleaner way when it comes to win/c.rs, maybe having a UWP & desktop specific modules, and import those conditionally? It doesn't feel right to sprinkle `#[cfg(...)]` all over the place
    
    Off course, I'll gladly update anything you see fit (to the extent of my abilities/knowledge :) )!
    
    Thanks,
    Centril committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    71b4b46 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#62133 - petrochenkov:norustc, r=eddyb

    Feature gate `rustc` attributes harder
    
    Fixes rust-lang#62116
    Centril committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    0668f38 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#62169 - Zoxc:store-query-results, r=eddyb

    Derive which queries to save using the proc macro
    
    Based on rust-lang#62166.
    
    r? @eddyb
    Centril committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    4bd46d1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bba6a13 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#62286 - petrhosek:rustc-no-duplicate-archiv…

    …es, r=cramertj
    
    Check if the archive has already been added to avoid duplicates
    
    This avoids adding archives multiple times, which results in duplicate
    objects in the resulting rlib, leading to symbol collision and link
    failures. This could happen when crate contains multiple link attributes
    that all reference the same archive.
    Centril committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    f045805 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#62292 - Centril:split-async-closures, r=cra…

    …mertj
    
    Move `async || ...` closures into `#![feature(async_closure)]`
    
    The `async || expr` syntax is moved out from `#![feature(async_await)]` into its own gate `#![feature(async_closure)]`.
    
    New tracking issue: rust-lang#62290
    
    Closes rust-lang#62214.
    
    cc rust-lang#62149
    
    r? @varkor
    Centril committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    566909b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#62324 - Centril:reduce-await-macro-reliance…

    …, r=cramertj
    
    Reduce reliance on `await!(...)` macro
    
    Only the last commit is new.
    
    r? @cramertj
    Centril committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    a0493aa View commit details
    Browse the repository at this point in the history