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 684ecd4 commit 0c2169bCopy full SHA for 0c2169b
Sources/SkipScript/JSContext.swift
@@ -20,7 +20,11 @@ public typealias ExceptionPtr = UnsafeMutablePointer<JSValueRef?>
20
/// See: https://github.com/WebKit/WebKit/blob/main/Tools/Scripts/run-jsc-benchmarks
21
private func disableJIT() {
22
// JSC_useWasmIPInt=0 JSC_useWasmLLInt=1 JSC_useWebAssembly=1 JSC_useJIT=0
23
- setenv("JSC_useJIT", "false", 1)
+ #if SKIP
24
+ android.system.Os.setenv("JSC_useJIT", "false", true)
25
+ #else
26
+ //setenv("JSC_useJIT", "false", 1) // no need: iOS doesn't support JIT anyway :)
27
+ #endif
28
}
29
30
/// A context for evaluating JavaScipt.
0 commit comments