Uh oh!
There was an error while loading. Please reload this page.
layout_of: T: Thin implies sizeof(&T) == sizeof(usize) - #104376
Conversation
rustbot
commented
Nov 13, 2022
r? @wesleywiser (rustbot has picked a reviewer for you, use r? to override) |
compiler-errors
commented
Nov 13, 2022
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
bors
commented
Nov 13, 2022
⌛ Trying commit 7e7fefe1829e2a101bcf1ea405fe54ea28cf25fe with merge ab804231e1a8be74b6d8bf87c2500ec91374b892... |
This comment has been minimized.
This comment has been minimized.
bors
commented
Nov 13, 2022
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Nov 13, 2022
Finished benchmarking commit (ab804231e1a8be74b6d8bf87c2500ec91374b892): comparison URL. Overall result: no relevant changes - no action neededBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis 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.
CyclesThis benchmark run did not return any relevant results for this metric. |
Uh oh!
There was an error while loading. Please reload this page.
517d98a to
88d6176Compare
This comment has been minimized.
This comment has been minimized.
88d6176 to
1f87162CompareUh oh!
There was an error while loading. Please reload this page.
1f87162 to
a5d39cfComparecompiler-errors
commented
Jan 4, 2023
@bors r=wesleywiser |
bors
commented
Jan 4, 2023
compiler-errors
commented
Jan 4, 2023
Ended up not being perf sensitive anyways, @bors rollup- |
bors
commented
Jan 4, 2023
⌛ Testing commit a5d39cf with merge 16db584a73dcbee32144101bf20483303098cb2f... |
compiler-errors
commented
Jan 4, 2023
Let's let the rollup try again @bors retry |
rust-log-analyzer
commented
Jan 4, 2023
bors
commented
Jan 4, 2023
bors
commented
Jan 4, 2023
☀️ Test successful - checks-actions |
rust-timer
commented
Jan 4, 2023
Finished benchmarking commit (ddad1e1): 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)ResultsThis 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.
CyclesThis benchmark run did not return any relevant results for this metric. |
Use the
<T as Pointee>::Metadataassociated type to calculate the layout of a pointee's metadata, instead of hard-coding rules about certain types.Maybe this approach is overkill -- we could instead hard-code this approach as a fallback, with the matching on
Slice/Dynamic/etc. happening firstFixes this issue here #104338 (comment) .. But is also useful with transmutes, for example, given the UI test I added below.