Skip to content

Fix Android JNI README return constant - #167

Open
dajiaohuang wants to merge 1 commit into
astonbitecode:masterfrom
dajiaohuang:docs/android-jni-onload-constant
Open

dajiaohuang wants to merge 1 commit into
astonbitecode:masterfrom
dajiaohuang:docs/android-jni-onload-constant

Conversation

@dajiaohuang

Copy link
Copy Markdown

The Android Java -> Rust jni_onload example declares JNI_VERSION_1_6 but returns the different, undeclared identifier jni_version_1_6. Rust identifiers are case-sensitive, so the example does not compile. Return the declared constant and keep the root README and crate README in sync.

Validation: git diff --check passed. This documentation-only change was not run through the full Rust/Java CI suite; rustc is not available in the task environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant