Skip to content

Commit 66e1f0e

Browse files
committed
test: check windows build
run `cargo check` for the x86_64-pc-windows-gnu target, to ensure we don't accidentally break building the crate on windows. Hackily add rawfd and xen features to the cargo-all-features denylist for just this test. Signed-off-by: Patrick Roy <[email protected]>
1 parent 0026807 commit 66e1f0e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.buildkite/custom-tests.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
"test_name": "miri",
55
"command": "RUST_BACKTRACE=1 MIRIFLAGS='-Zmiri-disable-isolation -Zmiri-backtrace=full' cargo +nightly miri test --features backend-mmap,backend-bitmap",
66
"platform": ["x86_64", "aarch64"]
7+
},
8+
{
9+
"test_name": "check-windows-build",
10+
"command": "echo 'denylist=[\"rawfd\", \"xen\"]' >> Cargo.toml; RUSTFLAGS=\"-D warnings\" cargo all-features check --all-targets --target x86_64-pc-windows-gnu",
11+
"platform": [
12+
"x86_64"
13+
]
714
}
815
]
916
}

0 commit comments

Comments
 (0)