Skip to content

Commit

Permalink
Auto merge of #123175 - Nilstrieb:debug-strict-overflow, r=wesleywiser
Browse files Browse the repository at this point in the history
Add add/sub methods that only panic with debug assertions to rustc

This mitigates the perf impact of enabling overflow checks on rustc. The change to use overflow checks will be done in a later PR.

For rust-lang/compiler-team#724, based on data gathered in #119440.
  • Loading branch information
bors committed Apr 13, 2024
2 parents 93ba491 + caa3e75 commit 0c1c6f3
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0c1c6f3

Please sign in to comment.