Skip to content
Snippets Groups Projects
Commit b60841b2 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)
(cherry picked from commit 6f844296)
parent 007bda17
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