tursodatabase / tursodatabase/libsql
Simplify sqlite3mc build
Open
Nobody has claimed this yet.
encryption at rest
enhancement
good first issue
help wanted
- Dominant language
- C
- Stars
- 17.2k
- Forks
- 531
- Avg merge
- 1h 12m
- Merged PRs (30d)
- 1
Description
We currently build sqlite3mc by invoking its cmake-based build, which makes the build more complicated, especially when cross-compiling. Let's look into switching to using the cc crate from libsql-ffi/build.rs instead to simplify the build.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in libsql-ffi/build.rs and trace how the current CMake-based sqlite3mc build is invoked, especially for cross-compilation. Compare that flow with what the Rust cc crate supports; done means the sqlite3mc build no longer depends on CMake and the existing libsql-ffi build still works for supported targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, rust, sqlite
- Domain
- build-system, databases
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100