-
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 6 pull requests #72898
Rollup of 6 pull requests #72898
Commits on May 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9f83d36 - Browse repository at this point
Copy the full SHA 9f83d36View commit details -
Miller authored
May 31, 2020 Configuration menu - View commit details
-
Copy full SHA for 186b274 - Browse repository at this point
Copy the full SHA 186b274View commit details
Commits on Jun 1, 2020
-
Fix off-by-one error in
DroplessArena::alloc_raw
.This causes unnecessary calls to `grow` when the allocation would fit exactly in the remaining space.
Configuration menu - View commit details
-
Copy full SHA for a80dc28 - Browse repository at this point
Copy the full SHA a80dc28View commit details -
Remove the
reserve_in_place
calls in{Typed,Dropless}Arena::grow
.They are pointless. No reasonable allocator will be able to satisfy a `reserve_in_place` request that *doubles* the size of an allocation when dealing with allocations that are 4 KiB and larger. Just to be sure, I confirmed on Linux that the `reserve_in_place` calls never succeed. (Note however that the `reserve_in_place` call for `DroplessArena::grow` did occasionally succeed prior to the off-by-one fix in the previous commit, because we would sometimes do a `reserve_in_place` request for the chunk's current size, which would trivially succeed!)
Configuration menu - View commit details
-
Copy full SHA for b789617 - Browse repository at this point
Copy the full SHA b789617View commit details -
Remove
RawVec::reserve_in_place
.Also remove a now-unnecessary `placement` argument.
Configuration menu - View commit details
-
Copy full SHA for 301d0af - Browse repository at this point
Copy the full SHA 301d0afView commit details -
Rename some identifiers in
RawVec
andlibarena
.- Use `len` more consistently for the number of elements in a vector, because that's the usual name. - Use `additional` more consistently for the number of elements we want to add, because that's what `Vec::reserve()` uses. - Use `cap` consistently rather than `capacity`. - Plus a few other tweaks. This increases consistency and conciseness.
Configuration menu - View commit details
-
Copy full SHA for 2391497 - Browse repository at this point
Copy the full SHA 2391497View commit details -
Configuration menu - View commit details
-
Copy full SHA for 576a97b - Browse repository at this point
Copy the full SHA 576a97bView commit details -
Remove allow missing_debug_implementations for MaybeUninit
It already has a Debug implementation.
Configuration menu - View commit details
-
Copy full SHA for 664222a - Browse repository at this point
Copy the full SHA 664222aView commit details -
rustc: Remove the
--passive-segments
LLD flag on wasmThis flag looks like it's been removed in LLVM 10, so this removes rustc unconditionally passing the flag.
Configuration menu - View commit details
-
Copy full SHA for 0fd9a37 - Browse repository at this point
Copy the full SHA 0fd9a37View commit details -
Rollup merge of rust-lang#72417 - nnethercote:rm-RawVec-reserve_in_pl…
…ace, r=Amanieu Remove `RawVec::reserve_in_place`. And some related clean-ups. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for c799c48 - Browse repository at this point
Copy the full SHA c799c48View commit details -
Rollup merge of rust-lang#72822 - lcnr:intern-me, r=estebank
remove trivial calls to mk_const similar to rust-lang#72754
Configuration menu - View commit details
-
Copy full SHA for 79e0055 - Browse repository at this point
Copy the full SHA 79e0055View commit details -
Rollup merge of rust-lang#72827 - milrope:patch-1, r=nikomatsakis
changed *nix to Unix-like
Configuration menu - View commit details
-
Copy full SHA for ea44f39 - Browse repository at this point
Copy the full SHA ea44f39View commit details -
Rollup merge of rust-lang#72880 - GuillaumeGomez:cleanup-e0637, r=Dyl…
…an-DPC Clean up E0637 explanation r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 85c4073 - Browse repository at this point
Copy the full SHA 85c4073View commit details -
Rollup merge of rust-lang#72886 - xfix:patch-21, r=jonas-schievink
Remove allow missing_debug_implementations for MaybeUninit It already has a Debug implementation.
Configuration menu - View commit details
-
Copy full SHA for 32f36bd - Browse repository at this point
Copy the full SHA 32f36bdView commit details -
Rollup merge of rust-lang#72889 - alexcrichton:update-wasm-threads, r…
…=nikomatsakis rustc: Remove the `--passive-segments` LLD flag on wasm This flag looks like it's been removed in LLVM 10, so this removes rustc unconditionally passing the flag.
Configuration menu - View commit details
-
Copy full SHA for 67dab8c - Browse repository at this point
Copy the full SHA 67dab8cView commit details