Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide safety check helpers in release builds
debug_assert! uses if cfg!(not(ndebug)) { ... } so the body in a release build is dead code, but it still needs to compile.
- Loading branch information
1 parent
4dee8ec
commit f508a82
Showing
2 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f508a82
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.
saw approval from jdm
at kmcallister@f508a82
f508a82
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.
merging kmcallister/servo/domrefcell = f508a82 into auto
f508a82
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.
kmcallister/servo/domrefcell = f508a82 merged ok, testing candidate = 0c12f63
f508a82
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.
all tests pass:
success: http://build.servo.org/builders/linux/builds/451
success: http://build.servo.org/builders/mac/builds/457
f508a82
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.
fast-forwarding master to auto = 0c12f63