Skip to content

Fix: Respect Cargo-selected Windows CRT#778

Draft
bvolpato wants to merge 1 commit into
unum-cloud:main-devfrom
bvolpato:bvolpato/cargo-crt-linkage
Draft

Fix: Respect Cargo-selected Windows CRT#778
bvolpato wants to merge 1 commit into
unum-cloud:main-devfrom
bvolpato:bvolpato/cargo-crt-linkage

Conversation

@bvolpato

Copy link
Copy Markdown

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.

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.

1 participant