TwoClocks
04/02/2022, 9:36 PMUnresolved reference
when building (either in idea, or gradle)-Xjvm-enable-preview
to the kotlin compiler. But I think that just passes it though to the JVM compiler (maybe?)module ForFuncTest.main {
requires jdk.incubator.foreign;
requires kotlin.stdlib;
}
and add --add-modules=jdk.incubator.foreign
to both compiler and run-time vm args.