主要改了 vendor/esaxx-rs/build.rs:只在 crt-static 目标下才启用 static_crt(true),用来修复 Windows 下常见的 MSVC 运行库冲突

This commit is contained in:
273265088@qq.com
2026-03-25 16:05:00 +08:00
parent b8d8732c3d
commit a74b67c93f
60 changed files with 16216 additions and 349 deletions
+25
View File
@@ -0,0 +1,25 @@
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
fail-fast: true
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Check formatting
run: |
rustup component add rustfmt
rustup component add clippy
cargo fmt -- --check
cargo clippy --all-features --verbose -- -Dwarnings
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --all-features