What is KONAN_DATA_DIR (incl an example file path)...
# compiler
n
What is KONAN_DATA_DIR (incl an example file path)? In konan.properties there is a option to turn on Airplane mode, however that would require the arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi toolchain (required for the rp2040 target) to be in $KONAN_DATA_DIR/dependencies.
a
does this help? https://github.com/JetBrains/kotlin/blob/master/kotlin-native/HACKING.md#compiler-environment-variables
KONAN_DATA_DIR
changes
.konan
local data directory location (
$HOME/.konan
by default). Works both with cli compiler and gradle plugin
n
In the end the Konan cache (located in $KONAN_DATA_DIR/cache) was manipulated in a way that fooled the compiler into thinking that the tool chain had been downloaded from a server, when in fact the tool chain doesn't exist on the server 🪄.
102 Views