What is KONAN_DATA_DIR (incl an example file path)...
# compiler
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.
does this help? https://github.com/JetBrains/kotlin/blob/master/kotlin-native/HACKING.md#compiler-environment-variables
local data directory location (
by default). Works both with cli compiler and gradle plugin
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 ­č¬ä.