Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support passing empty strings across the boundary from Kotlin --> Rust #749

Open
emarteca opened this issue Dec 11, 2024 · 0 comments
Open
Assignees

Comments

@emarteca
Copy link
Contributor

String passing from Kotlin to Rust involves the allocation of a JNA Memory object, which can't be creating with a size of zero, so passing an empty string results in a runtime exception.
We should add support for passing empty strings from Kotlin to Rust.

@emarteca emarteca self-assigned this Dec 11, 2024
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

No branches or pull requests

1 participant