We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a93972 commit f18522eCopy full SHA for f18522e
test/common.py
@@ -635,8 +635,12 @@ def require_engine(self, engine):
635
self.wasm_engines = []
636
637
def require_wasm64(self):
638
- self.require_node_canary()
639
- self.node_args += shared.node_memory64_flags()
+ if config.NODE_JS and config.NODE_JS in self.js_engines:
+ version = shared.check_node_version()
640
+ if version >= (20, 0, 0):
641
+ self.js_engines = [config.NODE_JS]
642
+ self.node_args += shared.node_memory64_flags()
643
+ return
644
645
if config.V8_ENGINE and config.V8_ENGINE in self.js_engines:
646
self.emcc_args.append('-sENVIRONMENT=shell')
0 commit comments