chore: update CI configuration and Rust settings

- Added support for `lld-link` as the linker for both x86_64 and aarch64 Windows targets in `.cargo/config.toml`.
- Updated CI workflows to use `Swatinem/rust-cache` for caching Rust dependencies, improving build efficiency.
- Consolidated build and test steps in CI workflows, enhancing clarity and reducing redundancy.
- Introduced a step to disable Windows Defender during CI runs on Windows to prevent interference with builds.
This commit is contained in:
Joe 2026-03-12 20:41:34 -05:00
parent 7e3e58a003
commit 1f5dacd218
3 changed files with 33 additions and 75 deletions

View file

@ -1,2 +1,7 @@
[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
rustflags = ["-Ctarget-feature=+crt-static"]
linker = "lld-link"
[target.aarch64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
linker = "lld-link"