-
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 17 pull requests #64456
Rollup of 17 pull requests #64456
Commits on Aug 24, 2019
-
Added table containing the system calls used by Instant and SystemTime.
Christian committedAug 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 33788c2 - Browse repository at this point
Copy the full SHA 33788c2View commit details
Commits on Aug 26, 2019
-
Co-Authored-By: lzutao <taolzu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1478ef4 - Browse repository at this point
Copy the full SHA 1478ef4View commit details
Commits on Sep 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ff63bf8 - Browse repository at this point
Copy the full SHA ff63bf8View commit details -
Value was renamed to Operand in rust-lang@ad2de8b ScalarPair to Slice in rust-lang@fe50b4e Not familiar enough with rustc's source to know if the comment is even still applicable.
Configuration menu - View commit details
-
Copy full SHA for 7589d3a - Browse repository at this point
Copy the full SHA 7589d3aView commit details
Commits on Sep 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b0006df - Browse repository at this point
Copy the full SHA b0006dfView commit details
Commits on Sep 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 36b37e2 - Browse repository at this point
Copy the full SHA 36b37e2View commit details
Commits on Sep 9, 2019
-
Add some assertions on obligation type sizes.
These are types that get memcpy'd a lot.
Configuration menu - View commit details
-
Copy full SHA for c1b9a46 - Browse repository at this point
Copy the full SHA c1b9a46View commit details -
Shrink
ObligationCauseCode
by boxingMatchExpressionArm
.The reduction in `memcpy` calls greatly outweighs the cost of the extra allocations, for a net performance win.
Configuration menu - View commit details
-
Copy full SHA for b972ac8 - Browse repository at this point
Copy the full SHA b972ac8View commit details -
Shrink
ObligationCauseCode
by boxingIfExpression
.The reduction in `memcpy` calls outweighs the cost of the extra allocations, for a net performance win.
Configuration menu - View commit details
-
Copy full SHA for 2e3b079 - Browse repository at this point
Copy the full SHA 2e3b079View commit details -
Added some context on SGX. Lists Darwin separately.
Christian committedSep 9, 2019 Configuration menu - View commit details
-
Copy full SHA for 3dd0e2b - Browse repository at this point
Copy the full SHA 3dd0e2bView commit details
Commits on Sep 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5287885 - Browse repository at this point
Copy the full SHA 5287885View commit details
Commits on Sep 11, 2019
-
Merge pull request rust-lang#20 from Wind-River/rand
use randSecure and randABytes
Configuration menu - View commit details
-
Copy full SHA for 83e7976 - Browse repository at this point
Copy the full SHA 83e7976View commit details -
Merge pull request rust-lang#21 from rust-lang/master
Sync with rust-lang/rust master branch
Configuration menu - View commit details
-
Copy full SHA for 5e8bf87 - Browse repository at this point
Copy the full SHA 5e8bf87View commit details -
Configuration menu - View commit details
-
Copy full SHA for b731e11 - Browse repository at this point
Copy the full SHA b731e11View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8c5f90 - Browse repository at this point
Copy the full SHA a8c5f90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 223600a - Browse repository at this point
Copy the full SHA 223600aView commit details -
It's a large type -- 176 bytes on 64-bit. And it's passed around and returned from a lot of functions, including within PResult. This commit boxes it, which reduces memory traffic. In particular, `PResult` shrinks to 16 bytes in the best case; this reduces instruction counts by up to 2% on various workloads.
Configuration menu - View commit details
-
Copy full SHA for 2fcd870 - Browse repository at this point
Copy the full SHA 2fcd870View commit details
Commits on Sep 12, 2019
-
Merge pull request rust-lang#22 from Wind-River/master_002
declare EnvKey before use to fix build error
Configuration menu - View commit details
-
Copy full SHA for 08fa803 - Browse repository at this point
Copy the full SHA 08fa803View commit details -
Configuration menu - View commit details
-
Copy full SHA for 612c394 - Browse repository at this point
Copy the full SHA 612c394View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9214a1 - Browse repository at this point
Copy the full SHA e9214a1View commit details
Commits on Sep 13, 2019
-
Inline
mark_neighbours_as_waiting_from
.This function is very hot, doesn't get inlined because it's recursive, and the function calls are significant. This commit splits it into inlined and uninlined variants, and uses the inlined variant for the hot call site. This wins several percent on a few benchmarks.
Configuration menu - View commit details
-
Copy full SHA for a2261ad - Browse repository at this point
Copy the full SHA a2261adView commit details -
Guanqun Lu committed
Sep 13, 2019 Configuration menu - View commit details
-
Copy full SHA for a47a5c3 - Browse repository at this point
Copy the full SHA a47a5c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd25507 - Browse repository at this point
Copy the full SHA bd25507View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69112a2 - Browse repository at this point
Copy the full SHA 69112a2View commit details -
Co-Authored-By: Robin Kruppe <robin.kruppe@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b3b6713 - Browse repository at this point
Copy the full SHA b3b6713View commit details -
Make fn ptr always structural match, regardless of whether formal typ…
…es are. Fix rust-lang#63479.
Configuration menu - View commit details
-
Copy full SHA for 7437f77 - Browse repository at this point
Copy the full SHA 7437f77View commit details -
Configuration menu - View commit details
-
Copy full SHA for c529294 - Browse repository at this point
Copy the full SHA c529294View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdad2c5 - Browse repository at this point
Copy the full SHA bdad2c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57e8287 - Browse repository at this point
Copy the full SHA 57e8287View commit details -
Configuration menu - View commit details
-
Copy full SHA for b98a844 - Browse repository at this point
Copy the full SHA b98a844View commit details -
Configuration menu - View commit details
-
Copy full SHA for e484f21 - Browse repository at this point
Copy the full SHA e484f21View commit details
Commits on Sep 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 094af97 - Browse repository at this point
Copy the full SHA 094af97View commit details -
Update src/liballoc/raw_vec.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 58a26c8 - Browse repository at this point
Copy the full SHA 58a26c8View commit details -
Rollup merge of rust-lang#63846 - DevQps:32626-document-time-system-c…
…alls, r=rkruppe Added table containing the system calls used by Instant and SystemTime. # Description See rust-lang#32626 for a discussion on documenting system calls used by Instant and SystemTime. ## Changes - Added a table containing the system calls used by each platform. EDIT: If I can format this table better (due to the large links) please let me know. I'd also be happy to learn a quick command to generate the docs on my host machine! Currently I am using: `python x.py doc --stage 0 src/libstd` but that gives me some `unrecognized intrinsic` errors. Advice is always welcome :) closes rust-lang#32626
Configuration menu - View commit details
-
Copy full SHA for baaaea3 - Browse repository at this point
Copy the full SHA baaaea3View commit details -
Rollup merge of rust-lang#64116 - ZeGentzy:patch-1, r=oli-obk
Fix minor typo in docs. This comment is prolly refering to the comment in [const_eval_raw_provider](https://github.com/rust-lang/rust/pull/64116/files#diff-e0b58bb6712edaa8595ad7237542c958R616), not itself.
Configuration menu - View commit details
-
Copy full SHA for 45baedb - Browse repository at this point
Copy the full SHA 45baedbView commit details -
Rollup merge of rust-lang#64203 - alexreg:rush-pr-2, r=centril
A few cosmetic improvements to code & comments in liballoc and libcore Factored out from hacking on rustc for work on the REPL. r? @Centril
Configuration menu - View commit details
-
Copy full SHA for afc5291 - Browse repository at this point
Copy the full SHA afc5291View commit details -
Rollup merge of rust-lang#64302 - nnethercote:shrink-ObligationCauseC…
…ode, r=zackmdavis Shrink `ObligationCauseCode` These commits reduce the size of `ObligationCauseCode` from 56 bytes to 32 bytes on 64-bit. This reduces instruction counts on various benchmarks by up to 1%, due to less `memcpy`ing.
Configuration menu - View commit details
-
Copy full SHA for 1054158 - Browse repository at this point
Copy the full SHA 1054158View commit details -
Rollup merge of rust-lang#64372 - Wind-River:master, r=alexcrichton
use randSecure and randABytes r? @alexcrichton cc @n-salim
Configuration menu - View commit details
-
Copy full SHA for 1e2a970 - Browse repository at this point
Copy the full SHA 1e2a970View commit details -
Rollup merge of rust-lang#64374 - nnethercote:box-DiagnosticBuilder, …
…r=zackmdavis Box `DiagnosticBuilder`. It's a large type -- 176 bytes on 64-bit. And it's passed around and returned from a lot of functions, including within `PResult`. This commit boxes it, which reduces memory traffic. In particular, `PResult` shrinks to 16 bytes in the best case; this reduces instruction counts by up to 2% on various workloads. The commit touches a lot of lines but it's almost all trivial plumbing changes.
Configuration menu - View commit details
-
Copy full SHA for af33a1d - Browse repository at this point
Copy the full SHA af33a1dView commit details -
Rollup merge of rust-lang#64375 - kornelski:vecdrop, r=rkruppe
Fast path for vec.clear/truncate For trivial types like `u8`, `vec.truncate()`/`vec.clear()` relies on the optimizer to remove the loop. This means more work in debug builds, and more work for the optimizer. Avoiding this busywork is exactly what `mem::needs_drop::<T>()` is for.
Configuration menu - View commit details
-
Copy full SHA for c6c2acd - Browse repository at this point
Copy the full SHA c6c2acdView commit details -
Rollup merge of rust-lang#64378 - Rosto75:master, r=jonas-schievink
Fix inconsistent link formatting.
Configuration menu - View commit details
-
Copy full SHA for ae9d417 - Browse repository at this point
Copy the full SHA ae9d417View commit details -
Rollup merge of rust-lang#64384 - mati865:tools_hack, r=alexcrichton
Trim rustc-workspace-hack Those dependencies seem no longer necessary. `./x.py test` and `x86_64-gnu-tools` container passed locally so I think this won't hurt.
Configuration menu - View commit details
-
Copy full SHA for f7dd5d0 - Browse repository at this point
Copy the full SHA f7dd5d0View commit details -
Rollup merge of rust-lang#64393 - Wind-River:master_002_envKey, r=ale…
…xcrichton declare EnvKey before use to fix build error r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for f669872 - Browse repository at this point
Copy the full SHA f669872View commit details -
Rollup merge of rust-lang#64420 - nnethercote:inline-mark_neighbours_…
…as_waiting_from, r=Mark-Simulacrum Inline `mark_neighbours_as_waiting_from`. This function is very hot, doesn't get inlined because it's recursive, and the function calls are significant. This commit splits it into inlined and uninlined variants, and uses the inlined variant for the hot call site. This wins several percent on a few benchmarks. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 5e44c5f - Browse repository at this point
Copy the full SHA 5e44c5fView commit details -
Rollup merge of rust-lang#64422 - ollie27:error_index_generator_strin…
…gify, r=Mark-Simulacrum Remove raw string literal quotes from error index descriptions The error index has unnecessary `r##"` and `"##` around the descriptions from rust-lang#63721. Removing the `stringify` call removes them. r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 181d129 - Browse repository at this point
Copy the full SHA 181d129View commit details -
Rollup merge of rust-lang#64423 - ollie27:mailmap, r=Mark-Simulacrum
Add self to .mailmap
Configuration menu - View commit details
-
Copy full SHA for 70787c7 - Browse repository at this point
Copy the full SHA 70787c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4398eb7 - Browse repository at this point
Copy the full SHA 4398eb7View commit details -
Rollup merge of rust-lang#64431 - pnkfelix:issue-63479-fnptr-is-struc…
…tural-match, r=varkor fn ptr is structural match Make fn ptr always structural match, regardless of whether the formal parameter types or return type are. Fix rust-lang#63479.
Configuration menu - View commit details
-
Copy full SHA for 5160e4b - Browse repository at this point
Copy the full SHA 5160e4bView commit details -
Rollup merge of rust-lang#64435 - eddyb:arguments-against-arg, r=rkruppe
codegen: use "_N" (like for other locals) instead of "argN", for argument names. Based on rust-lang#64408 (second commit is new), fixing something I mentioned in rust-lang#64408 (which turned to be an immediate blocker for unifying relevant codepaths). Closes rust-lang#64408 (by containing it). r? @rkruppe
Configuration menu - View commit details
-
Copy full SHA for bf1253b - Browse repository at this point
Copy the full SHA bf1253bView commit details -
Rollup merge of rust-lang#64439 - 12101111:fix-owned-box, r=Centril
fix rust-lang#64430, confusing `owned_box` error message in no_std build Fixes rust-lang#64430
Configuration menu - View commit details
-
Copy full SHA for 1c7959b - Browse repository at this point
Copy the full SHA 1c7959bView commit details