mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Declare Node Script Engine with GC
This commit is contained in:
parent
c0575b5b65
commit
8878b37225
@ -27,7 +27,9 @@ public enum ScriptEngine {
|
||||
NodeWat,
|
||||
SpiderMonkeyWat,
|
||||
Wat2Wasm,
|
||||
NodeJsGC(true),
|
||||
SpiderMonkeyGC(true),
|
||||
NodeWatGC(true),
|
||||
SpiderMonkeyWatGC(true),
|
||||
;
|
||||
|
||||
|
@ -474,8 +474,10 @@ public class WasmRule extends TemporaryFolder {
|
||||
case SpiderMonkeyWatGC:
|
||||
return spiderMonkeyCommand( false, true );
|
||||
case NodeJS:
|
||||
case NodeJsGC:
|
||||
return nodeJsCommand( nodeScript );
|
||||
case NodeWat:
|
||||
case NodeWatGC:
|
||||
prepareNodeWat();
|
||||
ProcessBuilder processBuilder = nodeJsCommand( nodeWatScript );
|
||||
processBuilder.environment().put( "NODE_PATH", getNodeModulePath() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user