We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ff24ef9 + 62333ec commit 754b460Copy full SHA for 754b460
library/core/src/ub_checks.rs
@@ -69,6 +69,7 @@ macro_rules! assert_unsafe_precondition {
69
}
70
71
72
+ #[cfg(debug_assertions)]
73
if ::core::ub_checks::$kind() {
74
precondition_check($($arg,)*);
75
0 commit comments