Skip to content

Fix Android JNI README return constant - #167

Merged
astonbitecode merged 1 commit into
astonbitecode:masterfrom
dajiaohuang:docs/android-jni-onload-constant
Nov 2, 2026
Merged

astonbitecode merged 1 commit into
astonbitecode:masterfrom
dajiaohuang:docs/android-jni-onload-constant

Conversation

@dajiaohuang

Copy link
Copy Markdown
Contributor

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.

@astonbitecode
astonbitecode merged commit 8ff06c7 into astonbitecode:master Nov 2, 2026
3 checks passed
@astonbitecode

Copy link
Copy Markdown
Owner

Thanks!

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.

2 participants