suresh
08/12/2025, 5:49 AMsuresh
08/12/2025, 5:51 AMsettings:
kotlin:
languageVersion: 2.2
progressiveMode: true
allWarningsAsErrors: true
suppressWarnings: false
verbose: false
freeCompilerArgs:
...
optIns:
- kotlin.ExperimentalStdlibApi
- kotlin.ExperimentalUnsignedTypes
-...
settings@jvm:
kotlin:
freeCompilerArgs:
- -Xjdk-release=21
-...
settings@native:
kotlin:
optIns:
- kotlinx.cinterop.ExperimentalForeignApi
- kotlin.experimental.ExperimentalNativeApi
settings@linux:
kotlin:
linkerOpts: [
"-Wl,--as-needed",
"-Wl,-Bstatic",
"-lz",
"-Wl,-Bdynamic"
]
joffrey
08/12/2025, 8:41 AMsettings.kotlin.linkerOpts
was added during the era of Gradle-based Amper, and was never implemented in the standalone Amper build tool 😯 Sorry about this, and thanks for finding another bug.
https://youtrack.jetbrains.com/issue/AMPER-4571/settings.kotlin.linkerOpts-is-not-taken-into-account