-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 5 pull requests #62234
Rollup of 5 pull requests #62234
Commits on Jun 25, 2019
-
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
Configuration menu - View commit details
-
Copy full SHA for 1c6b4d5 - Browse repository at this point
Copy the full SHA 1c6b4d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1b6716 - Browse repository at this point
Copy the full SHA c1b6716View commit details -
bootstrap: Build startup object for all windows-gnu target
So that uwp-windows-gnu also gets its startup objects built
Configuration menu - View commit details
-
Copy full SHA for 863cd6b - Browse repository at this point
Copy the full SHA 863cd6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5d7043 - Browse repository at this point
Copy the full SHA e5d7043View commit details -
libunwind: Use libunwind when targeting UWP
libgcc's support is using forbidden functions
Configuration menu - View commit details
-
Copy full SHA for 98f9bba - Browse repository at this point
Copy the full SHA 98f9bbaView commit details -
As Rtl* functions are not allowed there
Configuration menu - View commit details
-
Copy full SHA for 20eb746 - Browse repository at this point
Copy the full SHA 20eb746View commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for 0f15466 - Browse repository at this point
Copy the full SHA 0f15466View commit details -
std: win: Don't expose link() on UWP
Or rather expose it, but always return an error
Configuration menu - View commit details
-
Copy full SHA for 5466e9f - Browse repository at this point
Copy the full SHA 5466e9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b514557 - Browse repository at this point
Copy the full SHA b514557View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07d11ae - Browse repository at this point
Copy the full SHA 07d11aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7ad699 - Browse repository at this point
Copy the full SHA a7ad699View commit details -
std: win: Disable stack overflow handling on UWP
The required functions are not available, so hope for the best
Configuration menu - View commit details
-
Copy full SHA for 1a0a263 - Browse repository at this point
Copy the full SHA 1a0a263View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1726259 - Browse repository at this point
Copy the full SHA 1726259View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d798b7 - Browse repository at this point
Copy the full SHA 9d798b7View commit details
Commits on Jun 26, 2019
-
Update the
rust-installer
submoduleThis pulls in a commit which uses parallel xz encoding which should hopefully help shave some time off the dist builders which spend an inordinate amount of time compressing this data.
Configuration menu - View commit details
-
Copy full SHA for 722cfc4 - Browse repository at this point
Copy the full SHA 722cfc4View commit details
Commits on Jun 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e991abd - Browse repository at this point
Copy the full SHA e991abdView commit details
Commits on Jun 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 997a4cd - Browse repository at this point
Copy the full SHA 997a4cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 238bf81 - Browse repository at this point
Copy the full SHA 238bf81View commit details -
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,
Configuration menu - View commit details
-
Copy full SHA for 678978c - Browse repository at this point
Copy the full SHA 678978cView commit details -
Rollup merge of rust-lang#62128 - ehuss:extra-filename-warning, r=mat…
…thewjasper Adjust warning of -C extra-filename with -o. If `--emit` includes multiple unnamed outputs, and `-o` was specified, and `-C extra-filename` was specified, the compiler would warn that `-C extra-filename` was ignored, but this is not true. The "adapting" of the filenames includes the extra-filename info. Since this is a little convoluted and hard to follow, here is a little chart to summarize when running with `rustc foo.rs -o xyz -C extra-filename=asdf` `--emit` | Result ---------|-------- `link` | `xyz` (extra-filename ignored) `link,dep-info` | `xyzasdf`, `xyzasdf.d` (this PR removes the incorrect warning) As to whether or not this behavior is the best choice is another question.
Configuration menu - View commit details
-
Copy full SHA for 263a3dd - Browse repository at this point
Copy the full SHA 263a3ddView commit details -
Rollup merge of rust-lang#62153 - alexcrichton:parallel-compress, r=M…
…ark-Simulacrum Update the `rust-installer` submodule This pulls in a commit which uses parallel xz encoding which should hopefully help shave some time off the dist builders which spend an inordinate amount of time compressing this data.
Configuration menu - View commit details
-
Copy full SHA for 1eee0c6 - Browse repository at this point
Copy the full SHA 1eee0c6View commit details -
Rollup merge of rust-lang#62224 - euclio:remove-derives, r=GuillaumeG…
…omez rustdoc: remove unused derives and variants Though many structs in rustdoc derive `RustcEncodable` and `RustcDecodable`, the impls do not appear to be used by the crate or its dependents. Removing them revealed some enum variants that are never constructed, too. r? @GuillaumeGomez
Configuration menu - View commit details
-
Copy full SHA for 4d2a520 - Browse repository at this point
Copy the full SHA 4d2a520View commit details -
Rollup merge of rust-lang#62228 - varkor:must_use-trait-in-box, r=Cen…
…tril Extend the #[must_use] lint to boxed types Fixes rust-lang#55506 (comment) (cc @Nemo157). This should have been included as part of rust-lang#55663, but was overlooked.
Configuration menu - View commit details
-
Copy full SHA for 6776c37 - Browse repository at this point
Copy the full SHA 6776c37View commit details