[Java] Add native library support for Linux musl (Alpine)#347
Merged
Conversation
teodordelibasic-db
force-pushed
the
java/musl
branch
from
June 4, 2026 14:29
5391b33 to
de9fa27
Compare
teodordelibasic-db
requested review from
a team,
danilonajkov-db and
elenagaljak-db
June 4, 2026 14:54
teodordelibasic-db
force-pushed
the
java/musl
branch
from
June 8, 2026 10:11
de9fa27 to
378e507
Compare
Signed-off-by: teodordelibasic-db <teodor.delibasic@databricks.com>
Signed-off-by: teodordelibasic-db <teodor.delibasic@databricks.com>
teodordelibasic-db
force-pushed
the
java/musl
branch
from
June 9, 2026 12:16
378e507 to
ffaf936
Compare
danilonajkov-db
approved these changes
Jun 9, 2026
danilonajkov-db
left a comment
Member
There was a problem hiding this comment.
looks good, maybe just link the job execution to the PR https://github.com/databricks/zerobus-sdk/actions/runs/26958303643
This was referenced Jun 23, 2026
zlata-stefanovic-db
added a commit
that referenced
this pull request
Jun 23, 2026
Add x86_64-unknown-linux-musl and aarch64-unknown-linux-musl matrix rows to release-ffi.yml, cross-compiled with cargo-zigbuild on the existing linux-ubuntu-latest runners. Uses RUSTFLAGS=-C target-feature=-crt-static so the libs link musl dynamically, correct for Alpine hosts. Document the musl cross-compile in the FFI README. Mirrors the JNI musl support from #347. Fixes #411 Signed-off-by: Zlata Stefanovic <zlata.stefanovic@databricks.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are proposed in this pull request?
Adds native library support for Linux musl (Alpine) on x86_64 and aarch64. The libc flavor is detected automatically at runtime; override with
-Dzerobus.libc=musl|glibc.How is this tested?
release-ini.yml