-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
miri engine: turn some debug_assert into assert #69565
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit 6f568e7 with merge 8d08490855c62c792e8587b3c8ef97606893653e... |
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.
r=me if perf is fine
☀️ Try build successful - checks-azure |
Queued 8d08490855c62c792e8587b3c8ef97606893653e with parent 0eb878d, future comparison URL. |
Finished benchmarking try commit 8d08490855c62c792e8587b3c8ef97606893653e, comparison URL. |
There's +1.5% on many "clean incremental" and "patched incremental" tests (i.e., tests that run very shortly). I suppose @nnethercote wouldn't like to lose those, so I'll have to make a guess about which assertion might be the culprit here. |
r? @eddyb (to fix assignee) @bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit 5982e9d with merge 62010d6e5f1c1827a115c971e7f6fd12e21bf65c... |
☀️ Try build successful - checks-azure |
Queued 62010d6e5f1c1827a115c971e7f6fd12e21bf65c with parent 55aee8d, future comparison URL. |
Finished benchmarking try commit 62010d6e5f1c1827a115c971e7f6fd12e21bf65c, comparison URL. |
Now it looks like noise. @bors r=eddyb |
📌 Commit 5982e9d has been approved by |
Rollup of 9 pull requests Successful merges: - #69565 (miri engine: turn some debug_assert into assert) - #69609 (Remove `usable_size` APIs) - #69620 (doc(librustc_error_codes): add long error explanation for E0719) - #69626 (Toolstate: don't duplicate nightly tool list.) - #69628 (Fix a leak in `DiagnosticBuilder::into_diagnostic`.) - #69633 (Update my mailmap entry) - #69634 (clean up E0378 explanation) - #69637 (Don't convert Results to Options just for matching.) - #69641 (Update books) Failed merges: r? @ghost
Rollup of 6 pull requests Successful merges: - #69565 (miri engine: turn some debug_assert into assert) - #69621 (use question mark operator in a few places.) - #69650 (cleanup more iterator usages (and other things)) - #69653 (use conditions directly) - #69665 (Invoke OptimizerLastEPCallbacks in PreLinkThinLTO) - #69670 (Add explanation for E0379) Failed merges: r? @ghost
@eddyb said to avoid debug assertions in rustc. These checks here look like they are probably not too expensive. Cc @oli-obk