-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
AndroidOnly Android related issuesOnly Android related issuesJava/JNICase specific only for Java/JNI interface generationCase specific only for Java/JNI interface generationmay be bug
Description
When building multiple crates that export Android APIs via flapigen, the final linking step fails with the error: ld error: duplicate symbol: JNI_OnLoad
. This only happens on Rust 1.60 and not older versions. This is caused because of rust-lang/rust#83822, which removes support for duplicate symbols on Android targets.
Metadata
Metadata
Assignees
Labels
AndroidOnly Android related issuesOnly Android related issuesJava/JNICase specific only for Java/JNI interface generationCase specific only for Java/JNI interface generationmay be bug