Repository navigation
zstd-m 1.5.7: Zstandard as C++23 modules (mcpplibs.mwrap.zstd) - #1
Merged
Merged
Conversation
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…at-unbuilt functions Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…ays so Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…defines) Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.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.
Zstandard 1.5.7 as C++23 modules over
compat.zstd1.5.7, the first release of the mwrap identitymcpplibs.mwrap.zstd(mcpp-indexdocs/mwrap.md). mcpp 2026.11.7.1 imports it in place of including<zstd.h>(mcpp design record 2026-11-07, D10).Contents
mcpplibs.mwrap.zstd: the stable API of<zstd.h>and the error codes of<zstd_errors.h>: 68 functions, 21 types, 97 enumerators, upstream names in the global namespace. The experimental section (ZSTD_STATIC_LINKING_ONLY) and<zdict.h>(not built bycompat.zstd) are not exported; docs/usage.md says why.mcpplibs.mwrap.zstd.macros: 15 constant macros, same names, inmcpplibs::mwrap::zstd::macros.<mwrap/zstd/macros.hpp>:ZSTD_COMPRESSBOUND, upstream's definition.tools/generate.pywrites these four files from the headers as clang reads them with the build's flags;--checkaudits them on every LLVM row.tools/surface.tomllists the declaration-syntax macros.ZSTD_error_checksum_wrong, a stream in pieces, a raw-content dictionary, the error code of garbage, version and bound against their macros, every constant against its macro, header mixing. Four upstream examples over the same library. Default templatesqueeze, scaffolded as an installed package.Local results (Linux x86_64)
mcpp test, GCC 16.1.0 / LLVM 23.1.3 / GCC 16.1.0--target x86_64-linux-musltools/generate.py --checktools/run_conformance.pytools/test_template.pytools/check_mwrap_release.pymcpplibs.mwrap.zstd@1.5.7After merge: tag
mwrap-1.5.7, GitCode mirror, mcpp-indexpkgs/mwrap/zstd.luaandtests/mwrap/zstd.