mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +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,
|
NodeWat,
|
||||||
SpiderMonkeyWat,
|
SpiderMonkeyWat,
|
||||||
Wat2Wasm,
|
Wat2Wasm,
|
||||||
|
NodeJsGC(true),
|
||||||
SpiderMonkeyGC(true),
|
SpiderMonkeyGC(true),
|
||||||
|
NodeWatGC(true),
|
||||||
SpiderMonkeyWatGC(true),
|
SpiderMonkeyWatGC(true),
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -474,8 +474,10 @@ public class WasmRule extends TemporaryFolder {
|
|||||||
case SpiderMonkeyWatGC:
|
case SpiderMonkeyWatGC:
|
||||||
return spiderMonkeyCommand( false, true );
|
return spiderMonkeyCommand( false, true );
|
||||||
case NodeJS:
|
case NodeJS:
|
||||||
|
case NodeJsGC:
|
||||||
return nodeJsCommand( nodeScript );
|
return nodeJsCommand( nodeScript );
|
||||||
case NodeWat:
|
case NodeWat:
|
||||||
|
case NodeWatGC:
|
||||||
prepareNodeWat();
|
prepareNodeWat();
|
||||||
ProcessBuilder processBuilder = nodeJsCommand( nodeWatScript );
|
ProcessBuilder processBuilder = nodeJsCommand( nodeWatScript );
|
||||||
processBuilder.environment().put( "NODE_PATH", getNodeModulePath() );
|
processBuilder.environment().put( "NODE_PATH", getNodeModulePath() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user