-
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 19 pull requests #57309
Rollup of 19 pull requests #57309
Commits on Dec 24, 2018
-
Search codegen backends based on target libdir instead of sysroot.
Fixes cases with custom libdir when it consists of two or more parts.
Configuration menu - View commit details
-
Copy full SHA for 4e7d53d - Browse repository at this point
Copy the full SHA 4e7d53dView commit details
Commits on Dec 26, 2018
-
Add closure cannot be moved note.
This commit extends existing logic for checking whether a closure that is `FnOnce` and therefore moves variables that it captures from the environment has already been invoked when being invoked again. Now, this logic will also check whether the closure is being moved after previously being moved or invoked and add an appropriate note.
Configuration menu - View commit details
-
Copy full SHA for fcad209 - Browse repository at this point
Copy the full SHA fcad209View commit details
Commits on Dec 27, 2018
-
Configuration menu - View commit details
-
Copy full SHA for fff905b - Browse repository at this point
Copy the full SHA fff905bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c118b17 - Browse repository at this point
Copy the full SHA c118b17View commit details
Commits on Dec 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2149d73 - Browse repository at this point
Copy the full SHA 2149d73View commit details
Commits on Dec 29, 2018
-
Remove unused types from rustc::mir::interpret
The types are no longer used with the change to stacked borrows for validation.
Configuration menu - View commit details
-
Copy full SHA for 49e52e7 - Browse repository at this point
Copy the full SHA 49e52e7View commit details
Commits on Dec 30, 2018
-
test: Add test for issues 45510 and 18952.
Those tests are directly taken from the comments on the bug reports.
Configuration menu - View commit details
-
Copy full SHA for 4e77c3a - Browse repository at this point
Copy the full SHA 4e77c3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6de9c13 - Browse repository at this point
Copy the full SHA 6de9c13View commit details -
rustc_typeck: Implement resolution advised in issue 45510.
When resolving Fn traits, the compiler failed to take into account overloaded implementations. To resolve this, we inform the trait dispatch code that the arguments will becoming as a tuple of correct arity.
Configuration menu - View commit details
-
Copy full SHA for 1827d52 - Browse repository at this point
Copy the full SHA 1827d52View commit details -
Configuration menu - View commit details
-
Copy full SHA for f518cf9 - Browse repository at this point
Copy the full SHA f518cf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f42a18 - Browse repository at this point
Copy the full SHA 2f42a18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2530ce9 - Browse repository at this point
Copy the full SHA 2530ce9View commit details -
Change return types and check return values in tests.
This allows to verify that we handle different types as return types, and that we call the expected functions.
Configuration menu - View commit details
-
Copy full SHA for 91c155b - Browse repository at this point
Copy the full SHA 91c155bView commit details -
Configuration menu - View commit details
-
Copy full SHA for afb7c06 - Browse repository at this point
Copy the full SHA afb7c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3512a72 - Browse repository at this point
Copy the full SHA 3512a72View commit details -
This copies and adjusts the existing coherence tests to ensure that they continue to work using the new implementation.
Configuration menu - View commit details
-
Copy full SHA for b8ee6fa - Browse repository at this point
Copy the full SHA b8ee6faView commit details -
Configuration menu - View commit details
-
Copy full SHA for e869e5f - Browse repository at this point
Copy the full SHA e869e5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cae96b1 - Browse repository at this point
Copy the full SHA cae96b1View commit details -
Update src/doc/unstable-book/src/language-features/re-rebalance-coher…
…ence.md Co-Authored-By: weiznich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eee09d5 - Browse repository at this point
Copy the full SHA eee09d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6912b2d - Browse repository at this point
Copy the full SHA 6912b2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44089c8 - Browse repository at this point
Copy the full SHA 44089c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad7d015 - Browse repository at this point
Copy the full SHA ad7d015View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a5d45d - Browse repository at this point
Copy the full SHA 8a5d45dView commit details -
Configuration menu - View commit details
-
Copy full SHA for da08a81 - Browse repository at this point
Copy the full SHA da08a81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6caa4ce - Browse repository at this point
Copy the full SHA 6caa4ceView commit details
Commits on Dec 31, 2018
-
Rename and fix nolink-with-link-args test
There are three problems with the nolink-with-link-args test: * The test fails when using MSVC. It's caused by the `linker-flavor=ld` flag which was added in rust-lang#46291. * In its comment, this test tests that "link_args are indeed passed when nolink is specified", but the `nolink` attribute has been removed [a long time ago](rust-lang#12826). * Pattern has a small typo. At first I was going to completely remove this test, but there is [a closed pull request for that](rust-lang#21090). So: * rename the file as suggested in the closed PR * adjust the comment * fix typo in the pattern * add `ignore-msvc`.
Configuration menu - View commit details
-
Copy full SHA for 794b81e - Browse repository at this point
Copy the full SHA 794b81eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4826ab - Browse repository at this point
Copy the full SHA f4826abView commit details
Commits on Jan 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d2c91a1 - Browse repository at this point
Copy the full SHA d2c91a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b903cb9 - Browse repository at this point
Copy the full SHA b903cb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88df3a2 - Browse repository at this point
Copy the full SHA 88df3a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1351328 - Browse repository at this point
Copy the full SHA 1351328View commit details -
Configuration menu - View commit details
-
Copy full SHA for f36c655 - Browse repository at this point
Copy the full SHA f36c655View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb9f717 - Browse repository at this point
Copy the full SHA bb9f717View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37a0df3 - Browse repository at this point
Copy the full SHA 37a0df3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17db209 - Browse repository at this point
Copy the full SHA 17db209View commit details -
Configuration menu - View commit details
-
Copy full SHA for d96c4a9 - Browse repository at this point
Copy the full SHA d96c4a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 089c403 - Browse repository at this point
Copy the full SHA 089c403View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb933ef - Browse repository at this point
Copy the full SHA cb933efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d924a6 - Browse repository at this point
Copy the full SHA 3d924a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48aa819 - Browse repository at this point
Copy the full SHA 48aa819View commit details -
Configuration menu - View commit details
-
Copy full SHA for e42b21b - Browse repository at this point
Copy the full SHA e42b21bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72bcf92 - Browse repository at this point
Copy the full SHA 72bcf92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9654ae9 - Browse repository at this point
Copy the full SHA 9654ae9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03b8928 - Browse repository at this point
Copy the full SHA 03b8928View commit details
Commits on Jan 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 185636e - Browse repository at this point
Copy the full SHA 185636eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fd5003 - Browse repository at this point
Copy the full SHA 0fd5003View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a02d6d - Browse repository at this point
Copy the full SHA 2a02d6dView commit details -
make
panictry!
private to libsyntaxThis commit completely removes usage of the `panictry!` macro from outside libsyntax. The macro causes parse errors to be fatal, so using it in libsyntax_ext caused parse failures *within* a syntax extension to be fatal, which is probably not intended. Furthermore, this commit adds spans to diagnostics emitted by empty extensions if they were missing, à la rust-lang#56491.
Configuration menu - View commit details
-
Copy full SHA for 0a6fb84 - Browse repository at this point
Copy the full SHA 0a6fb84View commit details -
Update compiler_builtins 0.1.2 -> 0.1.3
Jethro Beekman committedJan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 0b6d217 - Browse repository at this point
Copy the full SHA 0b6d217View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3852dc8 - Browse repository at this point
Copy the full SHA 3852dc8View commit details -
bootstrap: Link LLVM as a dylib with ThinLTO
When building a distributed compiler on Linux where we use ThinLTO to create the LLVM shared object this commit switches the compiler to dynamically linking that LLVM artifact instead of statically linking to LLVM. The primary goal here is to reduce CI compile times, avoiding two+ ThinLTO builds of all of LLVM. By linking dynamically to LLVM we'll reuse the one ThinLTO step done by LLVM's build itself. Lots of discussion about this change can be found [here] and down. A perf run will show whether this is worth it or not! [here]: rust-lang#53245 (comment)
Configuration menu - View commit details
-
Copy full SHA for ea7fef1 - Browse repository at this point
Copy the full SHA ea7fef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a175969 - Browse repository at this point
Copy the full SHA a175969View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82a1bb3 - Browse repository at this point
Copy the full SHA 82a1bb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa4f014 - Browse repository at this point
Copy the full SHA fa4f014View commit details -
Add a new cmpxchg16b intrinsics for x86_64!
Configuration menu - View commit details
-
Copy full SHA for c0662a0 - Browse repository at this point
Copy the full SHA c0662a0View commit details -
Don't package up libLLVM.so with libstd
It's only meant for rustc, so we should only install it once!
Configuration menu - View commit details
-
Copy full SHA for 71fed3a - Browse repository at this point
Copy the full SHA 71fed3aView commit details
Commits on Jan 3, 2019
-
I noticed a duplicated "be" somewhere in the code. A search for it manifested a couple more locations with the same problem. This change removes one of the "be"s.
Configuration menu - View commit details
-
Copy full SHA for a944ecf - Browse repository at this point
Copy the full SHA a944ecfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32118a9 - Browse repository at this point
Copy the full SHA 32118a9View commit details -
Rollup merge of rust-lang#55986 - cjgillot:issue-45510, r=nikomatsakis
Allow to dispatch fn traits depending on number of parameters Hello, By following @eddyb's advise on issue rust-lang#45510, I managed to have the snippets of code in rust-lang#45510 and rust-lang#18952 passing without breaking older diagnostics. EDIT: the codegen tests breakage I experienced is due to the poor quality of my laptop. If any kind reviewer has any advice, you are very welcome.
Configuration menu - View commit details
-
Copy full SHA for 677eef5 - Browse repository at this point
Copy the full SHA 677eef5View commit details -
Rollup merge of rust-lang#56145 - weiznich:re_rebalance_coherence, r=…
…nikomatsakis Implement the Re-rebalance coherence RFC This is the first time I touch anything in the compiler so just tell me if I got something wrong. Big thanks to @sgrif for the pointers where to look for those things. cc rust-lang#55437
Configuration menu - View commit details
-
Copy full SHA for be8a496 - Browse repository at this point
Copy the full SHA be8a496View commit details -
Configuration menu - View commit details
-
Copy full SHA for fee93ea - Browse repository at this point
Copy the full SHA fee93eaView commit details -
Rollup merge of rust-lang#56897 - euclio:parse-fatal, r=estebank
make `panictry!` private to libsyntax This commit completely removes usage of the `panictry!` macro from outside libsyntax. The macro causes parse errors to be fatal, so using it in libsyntax_ext caused parse failures *within* a syntax extension to be fatal, which is probably not intended. Furthermore, this commit adds spans to diagnostics emitted by empty extensions if they were missing, à la rust-lang#56491.
Configuration menu - View commit details
-
Copy full SHA for 3baae65 - Browse repository at this point
Copy the full SHA 3baae65View commit details -
Rollup merge of rust-lang#57099 - davidtwco:issue-57098, r=nikomatsakis
NLL: Add closure cannot be moved note. Fixes rust-lang#57098. This PR extends existing logic for checking whether a closure that is `FnOnce` and therefore moves variables that it captures from the environment has already been invoked when being invoked again. Now, this logic will also check whether the closure is being moved after previously being moved or invoked and add an appropriate note. r? @pnkfelix
Configuration menu - View commit details
-
Copy full SHA for c90bf0e - Browse repository at this point
Copy the full SHA c90bf0eView commit details -
Rollup merge of rust-lang#57101 - o01eg:fix-57014, r=alexcrichton
Search codegen backends based on target libdir instead of sysroot Fixes rust-lang#57014 Fixes cases with custom libdir when it consists of two or more parts.
Configuration menu - View commit details
-
Copy full SHA for 4473e32 - Browse repository at this point
Copy the full SHA 4473e32View commit details -
Rollup merge of rust-lang#57145 - RalfJung:panic-if-uninhabited, r=al…
…excrichton panic when calling MaybeUninhabited::into_inner on uninhabited type I do this by adding an internal-only intrinsic `panic_if_uninhabited`. I have no idea what I am doing here, just mindlessly copying code around, so please review carefully!
Configuration menu - View commit details
-
Copy full SHA for 2701289 - Browse repository at this point
Copy the full SHA 2701289View commit details -
Rollup merge of rust-lang#57219 - matthewjasper:mir-cleanup, r=nikoma…
…tsakis Remove some unused code Closes rust-lang#57096
Configuration menu - View commit details
-
Copy full SHA for 88818d6 - Browse repository at this point
Copy the full SHA 88818d6View commit details -
Rollup merge of rust-lang#57233 - Smibu:rename-and-fix-nolink-test, r…
…=alexcrichton Rename and fix nolink-with-link-args test There are three problems with the nolink-with-link-args test: * The test fails when using MSVC. It's caused by the `linker-flavor=ld` flag which was added in rust-lang#46291. * In its comment, this test tests that "link_args are indeed passed when nolink is specified", but the `nolink` attribute has been removed [a long time ago](rust-lang#12826). * Pattern has a small typo. At first I was going to completely remove this test, but there is [a closed pull request for that](rust-lang#21090). So: * rename the file as suggested in the closed PR * adjust the comment * fix typo in the pattern * add `ignore-msvc`. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for ac58493 - Browse repository at this point
Copy the full SHA ac58493View commit details -
Rollup merge of rust-lang#57238 - Zoxc:bt-fix, r=alexcrichton
Fix backtraces for inlined functions on Windows Fixes an regression introduced in rust-lang#50526 r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 400d453 - Browse repository at this point
Copy the full SHA 400d453View commit details -
Rollup merge of rust-lang#57249 - frewsxcv:frewsxcv-second-edition, r…
…=KodrAus Fix broken links to second edition TRPL. Fixes rust-lang#57104. Remove `second-edition/` from TRPL hyperlinks.
Configuration menu - View commit details
-
Copy full SHA for 028774c - Browse repository at this point
Copy the full SHA 028774cView commit details -
Rollup merge of rust-lang#57259 - king6cong:master, r=alexcrichton
Update reference of rlibc crate to compiler-builtins crate None
Configuration menu - View commit details
-
Copy full SHA for e78b596 - Browse repository at this point
Copy the full SHA e78b596View commit details -
Rollup merge of rust-lang#57267 - rust-lang:SimonSapin-patch-1, r=varkor
src/jemalloc is gone, remove its mention from COPYRIGHT The `src/jemalloc` submodule was removed in 61e8944 / rust-lang#55238.
Configuration menu - View commit details
-
Copy full SHA for 0496b18 - Browse repository at this point
Copy the full SHA 0496b18View commit details -
Rollup merge of rust-lang#57272 - petrochenkov:featrecov, r=estebank
Make sure feature gate errors are recoverable (take 2) Continuation of rust-lang@15cefe4. Turns out I missed the most important part - the main feature gate checking pass.
Configuration menu - View commit details
-
Copy full SHA for f05bd30 - Browse repository at this point
Copy the full SHA f05bd30View commit details -
Rollup merge of rust-lang#57273 - alexcrichton:update-stdsimd, r=niko…
…matsakis Update the stdsimd submodule Add a new cmpxchg16b intrinsics for x86_64 and some corrections for ARM/AArch64
Configuration menu - View commit details
-
Copy full SHA for cf56d3f - Browse repository at this point
Copy the full SHA cf56d3fView commit details -
Rollup merge of rust-lang#57275 - jethrogb:jb/update-compiler_builtin…
…s, r=alexcrichton Update compiler_builtins 0.1.2 -> 0.1.3 r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 6e80fb1 - Browse repository at this point
Copy the full SHA 6e80fb1View commit details -
Rollup merge of rust-lang#57278 - mati865:config_clippy, r=alexcrichton
Add Clippy to config.toml.example Omitted in rust-lang#51122 The order is based on https://github.com/rust-lang/rust/blob/ec194646fef1a467073ad74b8b68f6f202cfce97/src/bootstrap/install.rs#L212
Configuration menu - View commit details
-
Copy full SHA for e8472e4 - Browse repository at this point
Copy the full SHA e8472e4View commit details -
Rollup merge of rust-lang#57286 - alexcrichton:less-thin-2-2, r=nikom…
…atsakis bootstrap: Link LLVM as a dylib with ThinLTO (take 2) When building a distributed compiler on Linux where we use ThinLTO to create the LLVM shared object this commit switches the compiler to dynamically linking that LLVM artifact instead of statically linking to LLVM. The primary goal here is to reduce CI compile times, avoiding two+ ThinLTO builds of all of LLVM. By linking dynamically to LLVM we'll reuse the one ThinLTO step done by LLVM's build itself. Lots of discussion about this change can be found [here] and down. A perf run will show whether this is worth it or not! [here]: rust-lang#53245 (comment) --- This PR previously landed in rust-lang#56944, caused rust-lang#57111, and was reverted in rust-lang#57116. I've added one more commit here which should fix the breakage that we saw.
Configuration menu - View commit details
-
Copy full SHA for 5508d36 - Browse repository at this point
Copy the full SHA 5508d36View commit details -
Rollup merge of rust-lang#57295 - d-e-s-o:topic/be-be, r=zackmdavis
Fix 'be be' constructs I noticed a duplicated "be" somewhere in the code. A search for it manifested a couple more locations with the same problem. This change removes one of the "be"s.
Configuration menu - View commit details
-
Copy full SHA for 6adc37e - Browse repository at this point
Copy the full SHA 6adc37eView commit details