Enable WebP SIMD for Windows builds.
Some checks failed
Tagged release / prepare-release (push) Successful in 2m53s
Tagged release / build-macos (push) Failing after 25m20s
Tagged release / build-linux-arm64 (push) Successful in 35m45s
Tagged release / build-linux-x64 (push) Failing after 16s
Tagged release / build-windows (push) Failing after 26m8s
Tagged release / publish-release (push) Has been skipped

This commit is contained in:
Hermes Agent
2026-08-14 12:11:46 +00:00
parent 87d2cc2a1f
commit 3506538752
4 changed files with 14 additions and 1 deletions

View File

@@ -50,6 +50,11 @@ ort = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies]
usearch = { workspace = true }
[target.'cfg(target_os = "windows")'.dependencies]
# libwebp's MSVC autodetection enables SSE 4.1 sources, so clang-cl must
# compile them with the matching target feature during cargo-xwin builds.
libwebp-sys = { workspace = true, features = ["sse41"] }
[target.'cfg(not(target_os = "macos"))'.dependencies]
usearch = { workspace = true, features = ["numkong"] }
@@ -57,4 +62,4 @@ usearch = { workspace = true, features = ["numkong"] }
tempfile = "3"
[package.metadata.cargo-machete]
ignored = ["libsqlite3-sys"]
ignored = ["libsqlite3-sys", "libwebp-sys"]