Skip to content

Require correct libc version on built packages and update license#56

Merged
rustybee42 merged 4 commits intomainfrom
rb/package-build-libc-requirement
Mar 16, 2026
Merged

Require correct libc version on built packages and update license#56
rustybee42 merged 4 commits intomainfrom
rb/package-build-libc-requirement

Conversation

@rustybee42
Copy link
Collaborator

@rustybee42 rustybee42 commented Feb 27, 2026

Also Update Rust and dependencies.

Closes #7

@rustybee42 rustybee42 self-assigned this Feb 27, 2026
@rustybee42 rustybee42 requested a review from a team as a code owner February 27, 2026 12:20
@rustybee42 rustybee42 force-pushed the rb/package-build-libc-requirement branch from 6b25e86 to 87a2f61 Compare March 3, 2026 11:30
@rustybee42
Copy link
Collaborator Author

rustybee42 commented Mar 3, 2026

Check if the new include field can be used to dynamically inject the settings into Cargo.toml instead of patching the file. Will get stabilized with Rust 1.94 very soon.

Edit: Done

@rustybee42 rustybee42 force-pushed the rb/package-build-libc-requirement branch from 87a2f61 to d19bb0a Compare March 6, 2026 08:01
@rustybee42
Copy link
Collaborator Author

TODO: Check if the new include field can be used to dynamically inject the settings into Cargo.toml instead of patching the file. Will get stabilized with Rust 1.94 very soon.

No, that doesn't really work or is at least not less complicated. Not doing that for now.

@rustybee42 rustybee42 force-pushed the rb/package-build-libc-requirement branch from 3602233 to 020e455 Compare March 13, 2026 08:08
Done by patching the Cargo.toml file temporarily (cargo deb does not
provide a command line option to set that). Since we usually don't want
to make automatic changes to the source code, we store the original file
and restore it after the script completes (even on error).
Before the build would just silently ignore GLIBC_VERSION and build
normally (without zigbuild).
@rustybee42 rustybee42 force-pushed the rb/package-build-libc-requirement branch from 33c3360 to 4d125fc Compare March 16, 2026 08:27
Enabled new "fallible_uint" feature on rusqlite which is now required
due to our heavy use of u64 as sql parameters.

Fix clippy complaints.
@rustybee42 rustybee42 merged commit cc75ee8 into main Mar 16, 2026
5 checks passed
@rustybee42 rustybee42 deleted the rb/package-build-libc-requirement branch March 16, 2026 10:45
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.

Set the correct package requirements and suggestions from the Makefile

2 participants