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 fdbe7e6 commit 53c8495Copy full SHA for 53c8495
src/main/kotlin/com/compiler/server/compiler/components/KotlinToJSTranslator.kt
@@ -184,7 +184,7 @@ class KotlinToJSTranslator(
184
icDir,
185
outputDir,
186
debugInfo
187
- )
+ ) + "-Xwasm-ic-cache-readonly=true"
188
)
189
}
190
.map {
@@ -201,13 +201,7 @@ class KotlinToJSTranslator(
201
202
val time = measureTime {
203
a = cacheDir?.let { dir ->
204
- usingTempDirectory { tmpDir ->
205
- val cachesDir = tmpDir.resolve("caches").normalize()
206
- if (dir.exists()) {
207
- dir.copyRecursively(cachesDir.toFile())
208
- }
209
- compileAction(cachesDir)
210
+ compileAction(dir.toPath())
211
} ?: compileAction(null)
212
213
println("TIME: $time")
0 commit comments