-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 25 pull requests #56830
Rollup of 25 pull requests #56830
Commits on Nov 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 934e4d3 - Browse repository at this point
Copy the full SHA 934e4d3View commit details
Commits on Dec 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for eaeebb5 - Browse repository at this point
Copy the full SHA eaeebb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54026c1 - Browse repository at this point
Copy the full SHA 54026c1View commit details
Commits on Dec 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 4cf5702 - Browse repository at this point
Copy the full SHA 4cf5702View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70536d4 - Browse repository at this point
Copy the full SHA 70536d4View commit details
Commits on Dec 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c0e3f4b - Browse repository at this point
Copy the full SHA c0e3f4bView commit details
Commits on Dec 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for aa04285 - Browse repository at this point
Copy the full SHA aa04285View commit details
Commits on Dec 10, 2018
-
Document time of back operations of a Linked List
Popping and pushing from the end of a linked list is constant time. This documentation is already there for popping and pushing from the front. @bors: r+ 38fe8d2 rollup
Chris Couzens committedDec 10, 2018 Configuration menu - View commit details
-
Copy full SHA for 562f33b - Browse repository at this point
Copy the full SHA 562f33bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a336228 - Browse repository at this point
Copy the full SHA a336228View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecc4ca5 - Browse repository at this point
Copy the full SHA ecc4ca5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3246f49 - Browse repository at this point
Copy the full SHA 3246f49View commit details -
reject invalid external doc attributes
Also, provide a suggestion for the correct syntax.
Configuration menu - View commit details
-
Copy full SHA for c3c2de9 - Browse repository at this point
Copy the full SHA c3c2de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f7045f - Browse repository at this point
Copy the full SHA 7f7045fView commit details -
Includes some new stabilized intrinsics for the wasm32 target! Closes rust-lang#56292
Configuration menu - View commit details
-
Copy full SHA for 07a3d69 - Browse repository at this point
Copy the full SHA 07a3d69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d23e55 - Browse repository at this point
Copy the full SHA 3d23e55View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8c03b6 - Browse repository at this point
Copy the full SHA f8c03b6View commit details
Commits on Dec 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 30f531b - Browse repository at this point
Copy the full SHA 30f531bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ee2c06 - Browse repository at this point
Copy the full SHA 8ee2c06View commit details -
Initially, rust-lang#50233 accidentally changed the capacity of empty ZST. This was pointed out during code review. This commit adds a test to prevent capacity of ZST vectors from accidentally changing to prevent that from happening again.
Configuration menu - View commit details
-
Copy full SHA for 1006425 - Browse repository at this point
Copy the full SHA 1006425View commit details -
Always set the RDRAND and RDSEED features on SGX
Jethro Beekman committedDec 11, 2018 Configuration menu - View commit details
-
Copy full SHA for 5acab2d - Browse repository at this point
Copy the full SHA 5acab2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45b97f2 - Browse repository at this point
Copy the full SHA 45b97f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b17a3f2 - Browse repository at this point
Copy the full SHA b17a3f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e994a2 - Browse repository at this point
Copy the full SHA 8e994a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94c1c73 - Browse repository at this point
Copy the full SHA 94c1c73View commit details -
Configuration menu - View commit details
-
Copy full SHA for b96186b - Browse repository at this point
Copy the full SHA b96186bView commit details
Commits on Dec 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 517bfe0 - Browse repository at this point
Copy the full SHA 517bfe0View commit details -
Add test of current behavior (infer free region within closure body) …
…previously not in test suite.
Configuration menu - View commit details
-
Copy full SHA for 29e7ca9 - Browse repository at this point
Copy the full SHA 29e7ca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29bec2d - Browse repository at this point
Copy the full SHA 29bec2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a6ca24 - Browse repository at this point
Copy the full SHA 8a6ca24View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9235ea - Browse repository at this point
Copy the full SHA b9235eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae893bb - Browse repository at this point
Copy the full SHA ae893bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bec5b66 - Browse repository at this point
Copy the full SHA bec5b66View commit details
Commits on Dec 13, 2018
-
Add x86_64-unknown-uefi target
This adds a new rustc target-configuration called 'x86_64-unknown_uefi'. Furthermore, it adds a UEFI base-configuration to be used with other targets supported by UEFI (e.g., i386, armv7hl, aarch64, itanium, ...). UEFI systems provide a very basic operating-system environment, meant to unify how systems are booted. It is tailored for simplicity and fast setup, as it is only meant to bootstrap other systems. For instance, it copies most of the ABI from Microsoft Windows, rather than inventing anything on its own. Furthermore, any complex CPU features are disabled. Only one CPU is allowed to be up, no interrupts other than the timer-interrupt are allowed, no process-separation is performed, page-tables are identity-mapped, ... Nevertheless, UEFI has an application model. Its main purpose is to allow operating-system vendors to write small UEFI applications that load their kernel and terminate the UEFI system. However, many other UEFI applications have emerged in the past, including network-boot, debug-consoles, and more. This UEFI target allows to compile rust code natively as UEFI applications. No standard library support is added, but libcore can be used out-of-the-box if a panic-handler is provided. Furthermore, liballoc works as well, if a `GlobalAlloc` handler is provided. Both have been tested with this target-configuration. Note that full libstd support is unlikely to happen. While UEFI does have standardized interfaces for networking and alike, none of these are mandatory and they are unlikely to be shipped in common consumer firmwares. Furthermore, several features like process-separation are not available (or only in very limited fashion). Those parts of libstd would have to be masked.
David Herrmann committedDec 13, 2018 Configuration menu - View commit details
-
Copy full SHA for 88cf2a2 - Browse repository at this point
Copy the full SHA 88cf2a2View commit details -
Co-Authored-By: estebank <estebank@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a39f184 - Browse repository at this point
Copy the full SHA a39f184View commit details
Commits on Dec 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b6b278e - Browse repository at this point
Copy the full SHA b6b278eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 275deac - Browse repository at this point
Copy the full SHA 275deacView commit details -
Rollup merge of rust-lang#53506 - phungleson:fix-from-docs-atomic, r=…
…KodrAus Documentation for impl From for AtomicBool and other Atomic types As part of issue rust-lang#51430 (cc @skade). The impl is very simple, so not sure if we need to go into any details.
Configuration menu - View commit details
-
Copy full SHA for 7b62bf3 - Browse repository at this point
Copy the full SHA 7b62bf3View commit details -
Rollup merge of rust-lang#56203 - aheart:master, r=varkor
Add lint for items deprecated in future Resolves rust-lang#55892
Configuration menu - View commit details
-
Copy full SHA for 08a9cc3 - Browse repository at this point
Copy the full SHA 08a9cc3View commit details -
Rollup merge of rust-lang#56343 - yui-knk:remove_mir_stats_mod, r=nik…
…omatsakis Remove not used mod `mir_stats` mod has not been used since c1ff104.
Configuration menu - View commit details
-
Copy full SHA for e103111 - Browse repository at this point
Copy the full SHA e103111View commit details -
Rollup merge of rust-lang#56439 - JohnGinger:master, r=nikomatsakis
Clearer error message for dead assign I'm not that this is the right place for this (if it needs an RFC or not). I had the problem where I misunderstood the compiler lint message rust-lang#56436 and other people seem to have had the same problem https://www.reddit.com/r/rust/comments/8cy9p4/value_assigned_to_is_never_read/. I think this new wording might be slightly clearer (and help out beginners like me). I'm very new though, so there might be some nuance I'm missing that would make this more confusing or a bad idea for other reasons. I thought I would create a PR to make it easy to change the code if the consensus was that it would make sense to make a change. If this is the wrong place for this sort of thing I'll happily delete/move it.
Configuration menu - View commit details
-
Copy full SHA for 11408f6 - Browse repository at this point
Copy the full SHA 11408f6View commit details -
Rollup merge of rust-lang#56507 - nikomatsakis:polonius-integrate, r=…
…MatthewJasper polonius tweaks - bump polonius to 0.6.0 - fix 2-phase-borrow activations r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for 11adb6c - Browse repository at this point
Copy the full SHA 11adb6cView commit details -
Rollup merge of rust-lang#56672 - ccouzens:master, r=nikic
Document time of back operations of a Linked List Popping and pushing from the end of a linked list is constant time. This documentation is already there for popping and pushing from the front. @bors: r+ 38fe8d2 rollup
Configuration menu - View commit details
-
Copy full SHA for be13a49 - Browse repository at this point
Copy the full SHA be13a49View commit details -
Rollup merge of rust-lang#56677 - aelred:must-use-on-traits, r=estebank
#[must_use] on traits in stdlib Based on rust-lang#55506. Adds `#[must_use]` attribute to traits in the stdlib: - `Iterator` - `Future` - `FnOnce` - `Fn` - `FnMut` There may be other traits that should have the attribute, but I couldn't find/think of any.
Configuration menu - View commit details
-
Copy full SHA for 526cec8 - Browse repository at this point
Copy the full SHA 526cec8View commit details -
Rollup merge of rust-lang#56679 - euclio:external-doc-parse, r=estebank
overhaul external doc attribute diagnostics This PR improves the error handling and spans for the external doc attribute. Many cases that silently failed before now emit errors, spans are tightened, and the errors have help and suggestions. I tried to address all the cases that users ran into in the tracking issue. cc rust-lang#44732 r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 6febd8e - Browse repository at this point
Copy the full SHA 6febd8eView commit details -
Rollup merge of rust-lang#56682 - alexcrichton:update-stdsimd, r=niko…
…matsakis Update the stdsimd submodule Includes some new stabilized intrinsics for the wasm32 target! Closes rust-lang#56292
Configuration menu - View commit details
-
Copy full SHA for 872b987 - Browse repository at this point
Copy the full SHA 872b987View commit details -
Rollup merge of rust-lang#56691 - mishaker:fix_doc_install_broken_lin…
…k, r=jonas-schievink fix install broken link solves rust-lang#56690
Configuration menu - View commit details
-
Copy full SHA for 1c8ffc1 - Browse repository at this point
Copy the full SHA 1c8ffc1View commit details -
Rollup merge of rust-lang#56710 - jethrogb:jb/sgx-target-features, r=…
…alexcrichton Always set the RDRAND and RDSEED features on SGX Not sure if this is 100% correct. This [Intel article](https://software.intel.com/en-us/articles/intel-software-guard-extensions-tutorial-part-5-enclave-development) goes in great depth regarding using (untrusted) CPUID to see whether RDRAND/RDSEED is supported, and explains what happens to the enclave if the CPUID result is faked. I'd say that an implementation of SGX that doesn't make RDRAND available to the enclave is so severely limited/broken that it's ok if you get #UD in that case. The case is less clear for RDSEED, but it so far every processor released by Intel with SGX support also has RDSEED (including Gemini Lake). cc @briansmith
Configuration menu - View commit details
-
Copy full SHA for 409bbb8 - Browse repository at this point
Copy the full SHA 409bbb8View commit details -
Rollup merge of rust-lang#56713 - xfix:vec-test-zst-capacity, r=TimNN
Test capacity of ZST vector Initially, rust-lang#50233 accidentally changed the capacity of empty ZST. This was pointed out during code review. This commit adds a test to prevent capacity of ZST vectors from accidentally changing to prevent that from happening again.
Configuration menu - View commit details
-
Copy full SHA for eca4383 - Browse repository at this point
Copy the full SHA eca4383View commit details -
Rollup merge of rust-lang#56718 - RalfJung:use-libbacktrace-printing,…
… r=alexcrichton Use libbacktrace pretty-printing r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for c6ff109 - Browse repository at this point
Copy the full SHA c6ff109View commit details -
Rollup merge of rust-lang#56725 - piersfinlayson:master, r=alexcrichton
fix rust-lang/rust issue rust-lang#50583 Rationale for the fix is in rust-lang#50583. I've verified that before the fix /musl-armhf/lib/libc.a is riddled with the illegal variant of vmov.f64 and after the fix the version built doesn't contain any of these illegal instructions. I originally thought that the arm-linux-gnueabi version also needed fixing - to add a -mfloat-abi-soft but that's unnecessary as it's compiled with the gnueabi (not hf) compiler (I've some a quick check that the libc.a produced doesn't include VFP instructions). r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 9db99cf - Browse repository at this point
Copy the full SHA 9db99cfView commit details -
Rollup merge of rust-lang#56731 - GuillaumeGomez:ffi-doc-urls, r=Centril
Add missing urls in ffi module docs r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 1b6eff0 - Browse repository at this point
Copy the full SHA 1b6eff0View commit details -
Rollup merge of rust-lang#56738 - turboladen:fix-private_no_mangle_fn…
…s-message, r=zackmdavis Fix private_no_mangle_fns message grammar Simply changes "an warning" to "a warning" in the `private_no_mangle_fns` warning. I started getting this in some code after upgrading to 1.31.0.
Configuration menu - View commit details
-
Copy full SHA for 2f45d5c - Browse repository at this point
Copy the full SHA 2f45d5cView commit details -
Rollup merge of rust-lang#56746 - pnkfelix:issue-56537-add-test-of-cl…
…osure-using-region-from-containing-fn, r=nikomatsakis Add test of current behavior (infer free region within closure body) This behavior was previously not encoded in our test suite. it is pretty important that we test this behavior. In particular, in rust-lang#56537 I had proposed expanding the lifetime elision rules so that they would apply to some of the cases encoded in this test, which would cause them to start failing to compile successfully (because the lifetime attached to the return type would start being treated as connected to the lifetime on the input parameter to the lambda expression, which is explicitly *not* what the code wants in this particular case). In other words, I am trying to ensure that anyone who tries such experiments with lifetime elision in the future quickly finds out why we don't support lifetime elision on lambda expressions (at least not in the naive manner described on rust-lang#56537).
Configuration menu - View commit details
-
Copy full SHA for 33ba9ac - Browse repository at this point
Copy the full SHA 33ba9acView commit details -
Rollup merge of rust-lang#56747 - ljedrz:remove_box_from_target, r=za…
…ckmdavis target: remove Box returned by get_targets
Configuration menu - View commit details
-
Copy full SHA for 20b36f4 - Browse repository at this point
Copy the full SHA 20b36f4View commit details -
Rollup merge of rust-lang#56751 - mbrubeck:hash, r=dtolnay
Allow ptr::hash to accept fat pointers Fat pointers implement Hash since rust-lang#45483. This is a follow-up to rust-lang#56250.
Configuration menu - View commit details
-
Copy full SHA for e9580b1 - Browse repository at this point
Copy the full SHA e9580b1View commit details -
Rollup merge of rust-lang#56755 - estebank:impl-trait-lt-sugg, r=cram…
…ertj Account for `impl Trait` when suggesting lifetime Fix rust-lang#56745
Configuration menu - View commit details
-
Copy full SHA for 604a843 - Browse repository at this point
Copy the full SHA 604a843View commit details -
Rollup merge of rust-lang#56758 - Manishearth:emoji-status-toolstate,…
… r=kennytm Add short emoji status to toolstate updates I get a lot of these emails and it's good to know which ones I should be paying closer attention to -- i.e. the ones where clippy breaks. This adds a short emoji status report to the first line of the commit message, which shows up in notifications directly I haven't been able to test it, and the actual emoji are just suggestions. r? @kennytm cc @rust-lang/infra @rust-lang/devtools
Configuration menu - View commit details
-
Copy full SHA for da30d51 - Browse repository at this point
Copy the full SHA da30d51View commit details -
Rollup merge of rust-lang#56760 - estebank:dedup-bounds, r=oli-obk
Deduplicate unsatisfied trait bounds Fix rust-lang#35677.
Configuration menu - View commit details
-
Copy full SHA for 9fa81f5 - Browse repository at this point
Copy the full SHA 9fa81f5View commit details -
Rollup merge of rust-lang#56769 - dvdhrm:uefi-target, r=alexcrichton
Add x86_64-unknown-uefi target This adds a new rustc target-configuration called 'x86_64-unknown_uefi'. Furthermore, it adds a UEFI base-configuration to be used with other targets supported by UEFI (e.g., i386, armv7hl, aarch64, itanium, ...). UEFI systems provide a very basic operating-system environment, meant to unify how systems are booted. It is tailored for simplicity and fast setup, as it is only meant to bootstrap other systems. For instance, it copies most of the ABI from Microsoft Windows, rather than inventing anything on its own. Furthermore, any complex CPU features are disabled. Only one CPU is allowed to be up, no interrupts other than the timer-interrupt are allowed, no process-separation is performed, page-tables are identity-mapped, ... Nevertheless, UEFI has an application model. Its main purpose is to allow operating-system vendors to write small UEFI applications that load their kernel and terminate the UEFI system. However, many other UEFI applications have emerged in the past, including network-boot, debug-consoles, and more. This UEFI target allows to compile rust code natively as UEFI applications. No standard library support is added, but libcore can be used out-of-the-box if a panic-handler is provided. Furthermore, liballoc works as well, if a `GlobalAlloc` handler is provided. Both have been tested with this target-configuration. Note that full libstd support is unlikely to happen. While UEFI does have standardized interfaces for networking and alike, none of these are mandatory and they are unlikely to be shipped in common consumer firmwares. Furthermore, several features like process-separation are not available (or only in very limited fashion). Those parts of libstd would have to be masked.
Configuration menu - View commit details
-
Copy full SHA for 0481f2a - Browse repository at this point
Copy the full SHA 0481f2aView commit details -
Rollup merge of rust-lang#56808 - jrvidal:broken-links, r=kennytm
Fixes broken links Just a few broken links. Not sure what to do about this one: https://github.com/rust-lang/rust/blame/master/src/doc/unstable-book/src/language-features/plugin.md#L135 (regex macros were removed a while ago in rust-lang/regex@0375954).
Configuration menu - View commit details
-
Copy full SHA for 7a92fbd - Browse repository at this point
Copy the full SHA 7a92fbdView commit details -
Rollup merge of rust-lang#56809 - dbrgn:permissions-ext, r=alexcrichton
Fix docs path to PermissionsExt Couldn't test the link yet, since I didn't figure out how to build std rustdocs without building the entire compiler itself 🙂
Configuration menu - View commit details
-
Copy full SHA for 9ab47d1 - Browse repository at this point
Copy the full SHA 9ab47d1View commit details