The test still fails to compile in native even when the tests are marked with taggedAs notNative. I've moved the test file so it executes only for the JVM as a workaround. The compilation error:
[error] /home/runner/work/kyo/kyo/kyo-prelude/native/target/scala-3.5.2/native-test/generated/1a0c1.ll:583797:52: error: '@_SM11kyo.Aspect$D15init$$anonfun$1L16java.lang.ObjectL15scala.Function1L16java.lang.ObjectEpT11kyo.Aspect$' defined with type 'i8* (i8*, i8*)*' but expected 'i8* (i8*)*'
[error] %_4000001 = call dereferenceable_or_null(16) i8* @"_SM11kyo.Aspect$D15init$$anonfun$1L16java.lang.ObjectL15scala.Function1L16java.lang.ObjectEpT11kyo.Aspect$"(i8* dereferenceable_or_null(16) %_2)
[error] ^
[error] 1 error generated.
[info] Compiling to native code (5511 ms)
[info] Total (16398 ms)
[error] Failed to compile /home/runner/work/kyo/kyo/kyo-prelude/native/target/scala-3.5.2/native-test/generated/1a0c1.ll
[error] (kyo-preludeNative / Test / nativeLink) Failed to compile /home/runner/work/kyo/kyo/kyo-prelude/native/target/scala-3.5.2/native-test/generated/1a0c1.ll
[error] Total time: 113 s (01:53), completed Nov 12, 2024, 1:25:50 AM
The test still fails to compile in native even when the tests are marked with
taggedAs notNative
. I've moved the test file so it executes only for the JVM as a workaround. The compilation error: