Skip to content

Fix: Respect Cargo-selected Windows CRT - #778

Merged
ashvardanian merged 1 commit into
unum-cloud:main-devfrom
bvolpato:bvolpato/cargo-crt-linkage
Aug 22, 2026
Merged

ashvardanian merged 1 commit into
unum-cloud:main-devfrom
bvolpato:bvolpato/cargo-crt-linkage

Conversation

@bvolpato

Copy link
Copy Markdown
Contributor

Summary

Remove explicit /MD from Rust build script. cc already selects dynamic or static MSVC runtime from Cargo target features; forcing /MD overrides +crt-static consumers and can mix runtimes across one final binary.

Validation

  • cargo test -p usearch --no-default-features: 18 passed
  • cargo clippy -p usearch --no-default-features --all-targets -- -D warnings
  • Diff contains one flag deletion.

Draft notes

Linux validation covers unchanged Rust/C++ behavior. Windows CI should verify both normal MSVC and +crt-static consumers before readiness.

@bvolpato
bvolpato marked this pull request as ready for review July 28, 2026 16:09
@ashvardanian
ashvardanian merged commit 6bf5f1b into unum-cloud:main-dev Aug 22, 2026
ashvardanian pushed a commit that referenced this pull request Aug 22, 2026
### Patch

- Fix: Respect Cargo-selected Windows CRT #778 (6bf5f1b)
- Fix: Reserve the requested member capacity #777 (88d9a5e)
- Fix: Bound file-controlled sizes in `view()` (#776) (64d10d8)
- Make: Pin citations, deps, and CI versions (810c172)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants