3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Fix logger

This commit is contained in:
Akash Levy 2025-01-23 14:59:24 -08:00
parent 33653c8a80
commit 2e89aa572b

View file

@ -223,6 +223,8 @@ static inline void log_assert_worker(bool cond, const char *expr, const char *fi
if (!cond) {
log("ERROR: Assert `%s' failed in %s:%d.\n", expr, file, line);
log_flush();
printf("ERROR: Assert `%s' failed in %s:%d.\n", expr, file, line);
raise(SIGABRT);
}
}
#ifndef NDEBUG