feat: add mbedtls 3.6.1 descriptor#2
Merged
Sunrisepeak merged 1 commit intomainfrom May 9, 2026
Merged
Conversation
xpkg V1 + mcpp Form B descriptor for `mbedtls 3.6.1`. Targets the C
language compile rule introduced in mcpp 0.0.2: `library/*.c` (108
sources) compile via `c_object` (gcc/clang sibling driver, c11) and
archive into a single `libmbedtls.a` covering crypto + x509 + ssl —
matching what xmake's `add_packages("mbedtls")` produces.
Glob-aware paths (`*/library/*.c`, `*/include`, `*/library`) absorb
the GitHub tarball's `mbedtls-mbedtls-3.6.1/` wrap layer.
Verified locally: a smoke project depending on `mbedtls = "3.6.1"`
builds, links statically (musl), runs, and produces the FIPS 180-4
SHA-256 vector for "abc" correctly.
First downstream consumer is mcpplibs/tinyhttps (parallel PR adds an
`mcpp.toml` that depends on this descriptor).
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.
Summary
xpkg V1 + mcpp Form B descriptor for
mbedtls 3.6.1.Built on mcpp 0.0.2's C-language compile rule (
c_object):all 108 of
library/*.ccompile via the gcc/clang siblingdriver at
c11and archive into a singlelibmbedtls.acovering crypto + x509 + ssl. Same shape as what xmake's
add_packages("mbedtls")produces.Glob-aware paths (
*/library/*.c,*/include,*/library)absorb the GitHub tarball's
mbedtls-mbedtls-3.6.1/wrap layer.Verification
Smoke project depending on
mbedtls = "3.6.1"builds, linksstatically (musl), runs, and produces the FIPS 180-4 SHA-256
vector for
"abc"correctly:Downstream
First consumer is mcpplibs/tinyhttps — parallel PR
(mcpplibs/tinyhttps#1)
adds an
mcpp.tomlthat depends on this descriptor.