Repository navigation
feat(mwrap): mbedtls 3.6.8.1 — the hash groups are sub-modules - #937
Merged
Merged
Conversation
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
Adds
3.6.8.1ofmcpplibs.mwrap.mbedtls(Form A, the wrap's ownmcpp.toml) on linux/macosx/windows, and moves the consumertests/mwrap/mbedtls-hashesto it with a check that imports one sub-module alone.Why
In mwrap-3.6.8 each hash group was a partition of the root (
export module mcpplibs.mwrap.mbedtls:sha256;), so the README'simport mcpplibs.mwrap.mbedtls.sha256;did not compile, and neither did the mwrap spec's sub-module form (docs/zh/mwrap.md). The first consumer to try it (xgit) gotmodule not found.mcpplibs/mbedtls-m#1 (CI 6/6, squash-merged) makes each group its own module and has the root
export importthe six; an importer of the root compiles unchanged. Release: mwrap-3.6.8.1.Source
https://github.com/mcpplibs/mbedtls-m/releases/download/mwrap-3.6.8.1/mbedtls-m-3.6.8.1.tar.gz— the GitHub archive of the tag, uploaded as an asset (the autoupdate template's form)bcd9eb19871be089bf1add6672941425eab92a0310ec236a63115ca0b3a15e94(archive downloaded twice, asset read back)compat.mbedtls3.6.8Changes
pkgs/mwrap/mbedtls.lua:["3.6.8.1"]on the three platforms; the header names the revision.tests/mwrap/mbedtls-hashes:mcpplibs.mwrap.mbedtls = "3.6.8.1"; newtests/submodule.cppimports.sha256alone and hashes "abc"..agents/docs/2026-12-01-add-mbedtls-m-plan.md: a 3.6.8.1 section.Verification
mcpp xpkg parse pkgs/mwrap/mbedtls.lua->parse OK.tests/run_members.sh mbedtls-hasheson this host stops at syncing the index from GitHub; the consumer's build and run are this PR'sworkspacejobs.Authorship: ai-and-human