Skip to content
Snippets Groups Projects
Commit bef94bde authored by Cheng Shao's avatar Cheng Shao
Browse files

rts: fix conflicting StgRun definitions on wasm

This commit fixes conflicting StgRun definition when building dynamic
ways of RTS for wasm in unregisterised mode.
parent 98a32ec5
No related branches found
No related tags found
No related merge requests found
#include "Rts.h"
#if !defined(USE_MINIINTERPRETER)
// We directly return the same BaseReg as passed to StgRun. This is
// fine on wasm which doesn't have SMP.
//
......@@ -19,3 +21,5 @@ StgFunPtr StgReturn(void)
{
return 0;
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment