You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The built-in macro "assert" has a second form, with a custom message
used on assertion failure. This patch allows the second form to be
compiled.
gcc/rust/ChangeLog:
* expand/rust-macro-builtins-log-debug.cc
(MacroBuiltin::assert_handler): Forward any custom message on to
the built-in panic macro.
gcc/testsuite/ChangeLog:
* rust/compile/assert_missing_panic.rs: Add usage of the second
form of assert.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
0 commit comments