thirdparty.zstd: upgrade to v1.5.7 release, add the local changes to a reusable .patch file (#24611)

This commit is contained in:
kbkpbot 2025-05-31 13:06:36 +08:00 committed by GitHub
parent b84512d408
commit a1c5f41c6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 311 additions and 330 deletions

View file

@ -365,7 +365,7 @@ pub fn version_number() u32 {
return C.ZSTD_versionNumber()
}
// version_string returns runtime library version, like "1.5.8".
// version_string returns runtime library version, like "1.5.7".
pub fn version_string() string {
return unsafe { tos_clone(C.ZSTD_versionString()) }
}

View file

@ -0,0 +1,4 @@
module zstd
// As MUSL has no `qsort_r()` as GLIBC, so fallback to `qsort()`
#flag -DZSTD_USE_C90_QSORT