executor: don't use static_assert

Use existing way of doing size checks, otherwise akaros build is broken:
https://github.com/google/syzkaller/pull/1868/checks?check_run_id=808613616
This commit is contained in:
Dmitry Vyukov 2020-06-25 21:29:13 +02:00
parent ac40b8cc84
commit f9147b0836

View File

@ -284,7 +284,7 @@ struct kcov_comparison_t {
bool operator<(const struct kcov_comparison_t& other) const;
};
static_assert(sizeof(kcov_comparison_t) == 4 * sizeof(uint64), "invalid size of kcov_comparison_t");
typedef char kcov_comparison_size[sizeof(kcov_comparison_t) == 4 * sizeof(uint64) ? 1 : -1];
struct feature_t {
const char* name;