Compare commits

...

2 Commits

Author SHA1 Message Date
Dirkjan Ochtman
113777a22f Upgrade windows-bindgen to 0.64 2025-09-26 11:14:29 +02:00
Dirkjan Ochtman
0f016846f1 Install extra components for lint workflow
Install rustfmt for workflows that call `cargo test`, to make sure
rustfmt is available for the `win_bindings` codegen test.
2025-09-26 09:59:34 +02:00
3 changed files with 8 additions and 1 deletions

View File

@ -20,6 +20,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-gnu, x86_64-pc-windows-msvc
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --check -- --color=always
- run: cargo fmt --check --manifest-path fuzz/Cargo.toml

View File

@ -19,6 +19,8 @@ jobs:
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo test ${{ env.ALL_NON_EXCLUSIVE_FEATURES }} --color=always -- --color=always
@ -52,6 +54,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust_version }}
components: rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo check --manifest-path bench/Cargo.toml --benches
- run: cargo check --manifest-path fuzz/Cargo.toml --all-targets
@ -68,6 +71,8 @@ jobs:
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
- run: |
@ -130,6 +135,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
components: rustfmt
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-node@v5
- uses: jetli/wasm-pack-action@v0.4.0

View File

@ -53,7 +53,7 @@ js-sys = { version = "0.3", optional = true } # contains FFI bindings for
windows-link = { version = "0.2", optional = true }
[target.'cfg(windows)'.dev-dependencies]
windows-bindgen = { version = "0.63" } # MSRV is 1.74
windows-bindgen = { version = "0.64" } # MSRV is 1.74
[target.'cfg(unix)'.dependencies]
iana-time-zone = { version = "0.1.45", optional = true, features = ["fallback"] }