ffi 1.15: xfail — Android cross-compile of #jni_call(void)
Adds `examples/ffi-jni-call-02-void.sx` exercising `#jni_call(void) (env, target, "name", "sig")` inside an `inline if OS == .android` arm, plus a new tuple in `tests/cross_compile.sh`. Host run_examples passes (the inline-if strips the JNI body, leaving "skipped"); the Android cross-compile FAILs because `lowerFfiIntrinsicCall` still emits the placeholder diagnostic for any `fic.kind != .objc_call`. Per the FFI cadence rule this is a test-add (xfail); the next commit makes the Android cross-compile green by adding the `.jni_msg_send` opcode and its emit_llvm expansion.
This commit is contained in:
1
tests/expected/ffi-jni-call-02-void.exit
Normal file
1
tests/expected/ffi-jni-call-02-void.exit
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
tests/expected/ffi-jni-call-02-void.txt
Normal file
1
tests/expected/ffi-jni-call-02-void.txt
Normal file
@@ -0,0 +1 @@
|
||||
skipped (not android)
|
||||
Reference in New Issue
Block a user