diff --git a/tests/cross_compile.sh b/tests/cross_compile.sh index fee1f59..edaf99e 100755 --- a/tests/cross_compile.sh +++ b/tests/cross_compile.sh @@ -28,6 +28,10 @@ mkdir -p "$TMP_DIR" TUPLES=( "android|examples/ffi-objc-call-10-os-gate.sx" "android|examples/ffi-jni-call-02-void.sx" + # Step 1.24: verify the inverse OS gate — `inline if OS == .android + # { #jni_call(...) }` must strip its body before lowering on iOS so + # emit_llvm doesn't try to use libjvm symbols the iOS SDK lacks. + "ios-sim|examples/ffi-jni-call-02-void.sx" ) PASS=0