Skip to content

Conversation

@cyphar
Copy link
Owner

@cyphar cyphar commented Jan 22, 2026

We need to make sure that in addition to the actual language usage
working with our MSRV (veriied with cargo check by CI) that our scripts
also work with the MSRV compiler version.

Signed-off-by: Aleksa Sarai cyphar@cyphar.com

@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

cargo build --crate-type= was stabilised in Rust 1.64, so we need to use
the old method of enabling cdylib and staticlib builds for all builds
(regardless of the capi feature).

This was added by 493cdb2 ("capi: make opt-in via 'capi' feature"),
but the lack of a CI hook checking that the build worked meaned that we
missed that this was actually broken on Rust 1.63.

Debian bookworm still has Rust 1.63 and will be maintained until June
2026 (with LTS lasting until 2028). As such, we should keep our new
releases supporting 1.63 until June 2026 just in case someone decides to
package libpathrs for Debian oldstable.

Fixes: 493cdb2 ("capi: make opt-in via 'capi' feature")
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
We need to make sure that in addition to the actual language usage
working with our MSRV (veriied with cargo check by CI) that our scripts
also work with the MSRV compiler version.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
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.

2 participants