https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
e

elect

10/24/2023, 4:17 PM
is it normal there is no option to run
main
on native?
e

ephemient

10/24/2023, 4:33 PM
no, native binaries are built for a specific entry point
e

elect

10/24/2023, 4:34 PM
ok, I had the option when running the test(s), I supposed I should have had the same for running a plain
main
..
e

ephemient

10/24/2023, 10:21 PM
for tests, AGP configures the kotlin compiler to generate an entrypoint which reads command-line options to determine behavior (such as listing tests or running specific ones). but the test binary is always going through that compiler-generated
main
👍 1
2 Views