Remove a static_assert (#5643)
Having a static_assert on MSAN and ASAN prevents the fuzzers from being used with different engines, like TSAN, UBSAN, … but also with fuzzers that aren't using MSAN/ASAN like afl for example.
This commit is contained in:
parent
65f8703572
commit
4fd8eb214b
|
@ -5,10 +5,6 @@
|
|||
#include "fuzzer_assert.h"
|
||||
#include "test_assert.h"
|
||||
|
||||
static_assert(__has_feature(memory_sanitizer) ||
|
||||
__has_feature(address_sanitizer),
|
||||
"sanitizer disabled");
|
||||
|
||||
// Utility for test run.
|
||||
struct OneTimeTestInit {
|
||||
// Declare trap for the Flatbuffers test engine.
|
||||
|
@ -53,4 +49,4 @@ struct OneTimeTestInit {
|
|||
static OneTimeTestInit one_time_init_;
|
||||
};
|
||||
|
||||
#endif // !FUZZER_TEST_INIT_H_
|
||||
#endif // !FUZZER_TEST_INIT_H_
|
||||
|
|
Loading…
Reference in New Issue