-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 8 pull requests #93457
Rollup of 8 pull requests #93457
Conversation
…onst. Does nothing at runtime. `const_allocate`: Returns a null pointer at runtime.
Add Explanation For Error E0772 I've added an error explanation for the error code E0772. Assists with rust-lang#61137
Add `intrinsics::const_deallocate` Tracking issue: rust-lang#79597 Related: rust-lang#91884 This allows deallocation of a memory allocated by `intrinsics::const_allocate`. At the moment, this can be only used to reduce memory usage, but in the future this may be useful to detect memory leaks (If an allocated memory remains after evaluation, raise an error...?).
Make `NonNull::new` `const` Tracking issue: rust-lang#93235
…rce, r=jsha Fix dot separator when there is no source link Fixes rust-lang#92973. We did well adding this test since there was a bug: ![Screenshot from 2022-01-25 17-05-48](https://user-images.githubusercontent.com/3050060/151016535-39b45f52-e1e0-4963-ad19-532e24ec4c9b.png) r? `@jsha`
…dtolnay kmc-solid: Implement `net::FileDesc::duplicate` This PR implements `std::sys::solid::net::FileDesc::duplicate`, which was accidentally left out when this target was added by rust-lang#86191.
…ulacrum remove unused `jemallocator` crate When it was noticed that the rustc binary wasn't actually using jemalloc via `#[global_allocator]` and that was removed, the dependency remained. Tests pass locally with a `jemalloc = true` build, but I'll trigger a try build to ensure I haven't missed an edge-case somewhere. r? ```@ghost``` until that completes
…=jsha Add GUI theme change test r? `@jsha`
@bors r+ rollup=never p=8 |
📌 Commit d62b414 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (a00e130): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Successful merges:
intrinsics::const_deallocate
#92274 (Addintrinsics::const_deallocate
)NonNull::new
const
#93236 (MakeNonNull::new
const
)net::FileDesc::duplicate
#93410 (kmc-solid: Implementnet::FileDesc::duplicate
)jemallocator
crate #93431 (remove unusedjemallocator
crate)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup