-
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
Sync rustc_codegen_cranelift #113960
Sync rustc_codegen_cranelift #113960
Conversation
Except for mir inlining all mir opts that are beneficial for cg_clif now run on -Zmir-opt-level=2. -Zmir-opt-level=3 enables some more expensive optimizations.
…sg, r=b-naber Better error for non const `PartialEq` call generated by `match` Resolves rust-lang#90237
@bors r+ p=1 subtree sync |
This comment has been minimized.
This comment has been minimized.
@bors r+ p=1 subtree sync |
☀️ Test successful - checks-actions |
Finished benchmarking commit (ab0f3e6): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 651.03s -> 651.513s (0.07%) |
example/mini_core.rs
Outdated
@@ -563,11 +564,6 @@ unsafe fn allocate(size: usize, _align: usize) -> *mut u8 { | |||
libc::malloc(size) | |||
} | |||
|
|||
#[lang = "box_free"] | |||
unsafe fn box_free<T: ?Sized>(ptr: Unique<T>, _alloc: ()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall stale comments like this be updated after this removal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably have been done in #100036 which did the actual removal of box_free
, but yes it should be updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened #120372
…strieb Fix outdated comment on Box Caught by `@vi` in rust-lang#113960 (comment)
Rollup merge of rust-lang#120372 - bjorn3:fix_outdated_comment, r=Nilstrieb Fix outdated comment on Box Caught by `@vi` in rust-lang#113960 (comment)
Fix outdated comment on Box Caught by `@vi` in rust-lang/rust#113960 (comment)
Fix outdated comment on Box Caught by `@vi` in rust-lang/rust#113960 (comment)
This time Cranelift has been updated to 0.98. A couple of bugs have been fixed and a decent amount of x86 vendor intrinsics have been implemented.
r? @ghost
@rustbot label +A-codegen +A-cranelift +T-compiler