Skip to content

Commit 08d4404

Browse files
committed
Use std allocator
1 parent 55df245 commit 08d4404

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\=
77
io.ktor.development=true
88

99
#kotlin.native.cacheKind.linuxX64=none
10+
kotlin.native.ignoreDisabledTargets=true

lambda-runtime/build.gradle.kts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,7 @@ kotlin {
2020
}
2121
macosX64()
2222
//linuxArm64() // https://youtrack.jetbrains.com/issue/KT-36871/Support-Aarch64-Linux-as-a-host-for-the-Kotlin-Native
23-
linuxX64 {
24-
binaries {
25-
executable {
26-
freeCompilerArgs += listOf("-Xruntime-logs=gc=info", "-Xallocator=std")
27-
}
28-
}
29-
}
23+
linuxX64()
3024

3125
sourceSets {
3226
commonMain.dependencies {

sample/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ kotlin {
1414
it.binaries {
1515
executable {
1616
entryPoint = "com.github.trueangle.knative.lambda.runtime.sample.main"
17+
freeCompilerArgs += listOf("-Xruntime-logs=gc=info", "-Xallocator=std")
1718
}
1819
}
1920
}

0 commit comments

Comments
 (0)