-
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 10 pull requests #58426
Rollup of 10 pull requests #58426
Commits on Feb 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b91ccc3 - Browse repository at this point
Copy the full SHA b91ccc3View commit details
Commits on Feb 7, 2019
-
De-duplicate number formatting implementations for smaller code size
Instead of inlining the same logic into every number formatting implementation, pull it out into a function that each of the number formatting impls call into.
Configuration menu - View commit details
-
Copy full SHA for da5a0cd - Browse repository at this point
Copy the full SHA da5a0cdView commit details -
De-duplicate write_prefix lambda in pad_integral
For smaller code size.
Configuration menu - View commit details
-
Copy full SHA for ed2157a - Browse repository at this point
Copy the full SHA ed2157aView commit details -
Un-monomorphize and inline formatting with padding
The generic `F` in `with_padding` was causing a bunch of stuff to get inlined that otherwise needn't be, blowing up code size.
Configuration menu - View commit details
-
Copy full SHA for e633f15 - Browse repository at this point
Copy the full SHA e633f15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0afda05 - Browse repository at this point
Copy the full SHA 0afda05View commit details -
Improve the error messages for missing stability attributes
This makes the capitalisation consistent and provides more context (especially for missing top-level attributes).
Configuration menu - View commit details
-
Copy full SHA for 05f0dee - Browse repository at this point
Copy the full SHA 05f0deeView commit details
Commits on Feb 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c104b5c - Browse repository at this point
Copy the full SHA c104b5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05df9ff - Browse repository at this point
Copy the full SHA 05df9ffView commit details -
Use write_char for writing padding characters
Removes some unsafe *and* saves almost half a kilobyte of code size.
Configuration menu - View commit details
-
Copy full SHA for 8fea705 - Browse repository at this point
Copy the full SHA 8fea705View commit details -
Configuration menu - View commit details
-
Copy full SHA for f00f0e6 - Browse repository at this point
Copy the full SHA f00f0e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03d4fd9 - Browse repository at this point
Copy the full SHA 03d4fd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb1eed0 - Browse repository at this point
Copy the full SHA bb1eed0View commit details
Commits on Feb 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 18089df - Browse repository at this point
Copy the full SHA 18089dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7afd3e - Browse repository at this point
Copy the full SHA d7afd3eView commit details
Commits on Feb 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3737d4d - Browse repository at this point
Copy the full SHA 3737d4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87cd09b - Browse repository at this point
Copy the full SHA 87cd09bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a8a25b - Browse repository at this point
Copy the full SHA 2a8a25bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dc660f - Browse repository at this point
Copy the full SHA 3dc660fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01df8fe - Browse repository at this point
Copy the full SHA 01df8feView commit details -
Configuration menu - View commit details
-
Copy full SHA for c875241 - Browse repository at this point
Copy the full SHA c875241View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5fa870 - Browse repository at this point
Copy the full SHA b5fa870View commit details -
Only suggest imports if not imported.
This commit modifies name resolution error reporting so that if a name is in scope and has been imported then we do not suggest importing it. This can occur when we add a label about constructors not being visible due to private fields. In these cases, we know that the struct/variant has been imported and we should silence any suggestions to import the struct/variant.
Configuration menu - View commit details
-
Copy full SHA for 48b0c9d - Browse repository at this point
Copy the full SHA 48b0c9dView commit details
Commits on Feb 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ddb6c4f - Browse repository at this point
Copy the full SHA ddb6c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a8448c - Browse repository at this point
Copy the full SHA 3a8448cView commit details
Commits on Feb 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for eac43cc - Browse repository at this point
Copy the full SHA eac43ccView commit details -
target/uefi: clarify documentation
This clarifies why FP-units are disabled on UEFI targets, as well as why we must opt into the NXCOMPAT feature. I did find some time to investigate why GRUB and friends disable FP on UEFI. The specification explicitly allows using MMX/SSE/AVX, but as it turns out it does not mandate enabling the instruction sets explicitly. Hence, any use of these instructions will trigger CPU exceptions, unless an application explicitly enables them (which is not an option, as these are global flags that better be controlled by the kernel/firmware). Furthermore, UEFI systems are allowed to mark any non-code page as non-executable. Hence, we must make sure to never place code on the stack or heap. So we better pass /NXCOMPAT to the linker for it to complain if it ever places code in non-code pages. Lastly, this fixes some typos in related comments.
Configuration menu - View commit details
-
Copy full SHA for 15e4bd3 - Browse repository at this point
Copy the full SHA 15e4bd3View commit details -
Rollup merge of rust-lang#58167 - ljedrz:HirIdify_body_id, r=Zoxc
HirId-ify hir::BodyId Another step towards rust-lang#57578.
Configuration menu - View commit details
-
Copy full SHA for 9cb5831 - Browse repository at this point
Copy the full SHA 9cb5831View commit details -
Rollup merge of rust-lang#58202 - varkor:deprecated-future-external, …
…r=GuillaumeGomez Ignore future deprecations in #[deprecated] The future deprecation warnings should only apply to `#[rustc_deprecated]` as they take into account rustc's version. Fixes rust-lang#57952. I've also slightly modified rustdoc's display of future deprecation notices to make it more consistent, so I'm assigning a rustdoc team member for review to make sure this is okay. r? @GuillaumeGomez
Configuration menu - View commit details
-
Copy full SHA for a603e2a - Browse repository at this point
Copy the full SHA a603e2aView commit details -
Rollup merge of rust-lang#58204 - estebank:impl-trait-semi, r=zackmdavis
On return type `impl Trait` for block with no expr point at last semi Partial solution, doesn't actually validate that the last statement in the function body can satisfy the trait bound, but it's a good incremental improvement over the status quo. ``` error[E0277]: the trait bound `(): Bar` is not satisfied --> $DIR/impl-trait-return-trailing-semicolon.rs:3:13 | LL | fn foo() -> impl Bar { | ^^^^^^^^ the trait `Bar` is not implemented for `()` LL | 5; | - consider removing this semicolon | = note: the return type of a function must have a statically known size ``` Partially addresses rust-lang#54771.
Configuration menu - View commit details
-
Copy full SHA for 7579ba9 - Browse repository at this point
Copy the full SHA 7579ba9View commit details -
Rollup merge of rust-lang#58272 - fitzgen:num-format-code-size, r=Mar…
…k-Simulacrum Cut down on number formating code size r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for dfd8454 - Browse repository at this point
Copy the full SHA dfd8454View commit details -
Rollup merge of rust-lang#58276 - varkor:missing-stability-attr-top-l…
…evel, r=davidtwco Improve the error messages for missing stability attributes This makes the capitalisation consistent and provides more context (especially for missing top-level attributes).
Configuration menu - View commit details
-
Copy full SHA for d18e4f0 - Browse repository at this point
Copy the full SHA d18e4f0View commit details -
Rollup merge of rust-lang#58354 - matthewjasper:mir-dump-fixes, r=wes…
Configuration menu - View commit details
-
Copy full SHA for e35e9ee - Browse repository at this point
Copy the full SHA e35e9eeView commit details -
Rollup merge of rust-lang#58381 - davidtwco:issue-42944, r=estebank
Only suggest imports if not imported. Fixes rust-lang#42944 and fixes rust-lang#53430. This commit modifies name resolution error reporting so that if a name is in scope and has been imported then we do not suggest importing it. This can occur when we add a label about constructors not being visible due to private fields. In these cases, we know that the struct/variant has been imported and we should silence any suggestions to import the struct/variant. r? @estebank
Configuration menu - View commit details
-
Copy full SHA for 2a61352 - Browse repository at this point
Copy the full SHA 2a61352View commit details -
Rollup merge of rust-lang#58386 - Zoxc:fix-54242, r=michaelwoerister
Fix rust-lang#54242 r? @michaelwoerister
Configuration menu - View commit details
-
Copy full SHA for 61caf1f - Browse repository at this point
Copy the full SHA 61caf1fView commit details -
Rollup merge of rust-lang#58400 - gnzlbg:fix_driver, r=oli-obk
Fix rustc_driver swallowing errors when compilation is stopped r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for df020a7 - Browse repository at this point
Copy the full SHA df020a7View commit details -
Rollup merge of rust-lang#58420 - dvdhrm:target-uefi-comments, r=nagisa
target/uefi: clarify documentation This clarifies why FP-units are disabled on UEFI targets, as well as why we must opt into the NXCOMPAT feature. I did find some time to investigate why GRUB and friends disable FP on UEFI. The specification explicitly allows using MMX/SSE/AVX, but as it turns out it does not mandate enabling the instruction sets explicitly. Hence, any use of these instructions will trigger CPU exceptions, unless an application explicitly enables them (which is not an option, as these are global flags that better be controlled by the kernel/firmware). Furthermore, UEFI systems are allowed to mark any non-code page as non-executable. Hence, we must make sure to never place code on the stack or heap. So we better pass /NXCOMPAT to the linker for it to complain if it ever places code in non-code pages. Lastly, this fixes some typos in related comments. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 01533d4 - Browse repository at this point
Copy the full SHA 01533d4View commit details