Skip to content

Commit c4a1a71

Browse files
committed
Don't run UBSAN on benchmarks
1 parent e3d5850 commit c4a1a71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/benchmark_i128.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Distributed under the Boost Software License, Version 1.0.
33
// https://www.boost.org/LICENSE_1_0.txt
44

5-
#ifdef NDEBUG
5+
#if defined(NDEBUG) && !defined(UBSAN)
66
#define BOOST_INT128_BENCHMARK_I128
77
#endif // NDEBUG
88

0 commit comments

Comments
 (0)