-
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
rustdoc: Add static size assertion for clean::Type
#89989
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit f7189338fafe6537fe7f7970b5d57eed5cd7a3f6 with merge d0b6d2d34c195e800b1db37f81519e2468e73e88... |
This comment has been minimized.
This comment has been minimized.
@bors try |
⌛ Trying commit 4e5bcebb2faea58163cffaa8ff7b9f9ae4f3bcdd with merge bf3391bc963c595358ede3c3bcbabcabc9e0bb3e... |
Type
from 72 to 64 bytestrait_
field to reduce Type
from 72 to 64 bytes
☀️ Try build successful - checks-actions |
Queued bf3391bc963c595358ede3c3bcbabcabc9e0bb3e with parent 8db8f48, future comparison URL. |
Finished benchmarking commit (bf3391bc963c595358ede3c3bcbabcabc9e0bb3e): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking 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 led to changes in compiler perf. @bors rollup=never |
Looks like no change in compiletime and a moderate regression for memory on tokio-webpush-simple-doc. So I think this should be closed unless you have ideas for improving it. |
Those are very small, though ... I don't know if the improvement is worth it. |
Well, up to you. I think we should at least keep the static size assertion for |
👍 Seems good, r=me with that done |
trait_
field to reduce Type
from 72 to 64 bytesclean::Type
@bors r=jyn514 rollup |
📌 Commit 10b9b3d has been approved by |
…askrgr Rollup of 8 pull requests Successful merges: - rust-lang#89950 (bootstrap: tweak verbosity settings) - rust-lang#89965 (Fix ICE with `let...else` and `ref mut`) - rust-lang#89974 (Nicer error message if the user attempts to do let...else if) - rust-lang#89987 (Check implementing type for `#[doc(hidden)]`) - rust-lang#89989 (rustdoc: Add static size assertion for `clean::Type`) - rust-lang#89990 (rustc_span: `Ident::invalid` -> `Ident::empty`) - rust-lang#89993 (Remove dead code from `compiletest::json`) - rust-lang#89996 (Bump backtrace) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
r? @jyn514