Add workaround for #51
- An issue with how the Rust compiler handles linking of some compiler
builtins (https://github.com/rust-lang/rust/issues/109717) means that
our bundled copy of sqlite relies on a builtin that doesn't get linked
in to the binary in Android NDK versions >25.
- This is because the later Android NDK versions don't include a copy of libgcc, which would otherwise have provided that builtin.
- Rust will provide this builtin for some architectures, oddly, but not x86_64.
- Copy the workaround used in matrix-rust-sdk (https://github.com/matrix-org/matrix-rust-sdk/pull/1782), which fixes the issue.
Closes #51 (closed); cc @cyberta
Edited by eta