From c0555fd48ee1f56c9ea6f8df99af97f78bdcf6ce Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 13 Mar 2025 12:31:16 +0100 Subject: Disable unit test "lanes.stack checker" in Release builds --- src/debug.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/debug.hpp b/src/debug.hpp index 66541c0..9ebea1f 100644 --- a/src/debug.hpp +++ b/src/debug.hpp @@ -40,6 +40,7 @@ class StackChecker final DECLARE_UNIQUE_TYPE(Relative, int); DECLARE_UNIQUE_TYPE(Absolute, int); + // offer a way to bypass C assert during unit testing static inline bool CallsCassert{ true }; StackChecker(lua_State* const L_, Relative const offset_, SourceLocation const& where_ = Where()) -- cgit v1.2.3-55-g6feb