Skip to content
Snippets Groups Projects
Commit 6f844296 authored by Cheng Shao's avatar Cheng Shao :beach:
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.

(cherry picked from commit bef94bde)
parent cc67ef51
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