Skip to content

Commit aae82b7

Browse files
roypatbonzini
authored andcommitted
fix(windows): enable dep:winapi crate with backend-bitmap
Otherwise the crate does not compile on windows with --no-default-features --features backend-bitmap (not a particularly useful combination of features, since it gives bitmaps without mmap backends, which would usually drag in the winapi crate, but it should still work). Signed-off-by: Patrick Roy <[email protected]>
1 parent 4911b69 commit aae82b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ autobenches = false
1313

1414
[features]
1515
default = ["rawfd"]
16-
backend-bitmap = ["dep:libc"]
16+
backend-bitmap = ["dep:libc", "dep:winapi"]
1717
backend-mmap = ["dep:libc", "dep:winapi"]
1818
backend-atomic = ["arc-swap"]
1919
rawfd = ["dep:libc"]

0 commit comments

Comments
 (0)