From a108e12c505ab6d6a5577b6fb39166e049271221 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 2 May 2024 21:43:13 +0200 Subject: compat/assert: reduce executable size --- test/critter.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test') diff --git a/test/critter.cpp b/test/critter.cpp index d9f50205..950e2d01 100644 --- a/test/critter.cpp +++ b/test/critter.cpp @@ -147,10 +147,7 @@ bool run(world& w, const function_view& make_dt, if (b) [[likely]] return false; else - { - fm_EMIT_DEBUG("", "assertion failed: false in %s:%d", file, line); - fm_EMIT_ABORT(); - } + fm_emit_assert_fail("false", file, line); }; for (i = 0; true; i++) -- cgit v1.2.3