[simulation] enable the platform assert (#10952)

When the ot-rcp enters the assert state, the host crashes and exits.
But the ot-rcp still runs in the dead loop and becomes an orphan
process.

This commit enables the platform assert so that the ot-rcp can
automatically exit when entering the assert state.
This commit is contained in:
Zhanglong Xia
2024-11-22 16:48:51 -08:00
committed by GitHub
parent 35cc162dec
commit c44538e4df
4 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -575,5 +575,5 @@ otError otPlatUdpLeaveMulticastGroup(otUdpSocket *, otNetifIdentifier, const otI
{
return OT_ERROR_NOT_IMPLEMENTED;
}
void otPlatAssertFail(const char *, int) {}
} // extern "C"