Skip to content

Commit 2cbbee1

Browse files
committed
fix: enable libc dependency under backend-bitmap feature
When enabling the backend-bitmap feature, vm-memory tries to use libc to determine host page size, however if no other feature that depends on libc is enabled, this will result in a compilation error Fixes: 0b7a437 ("make Read/WriteVolatile implementations optional") Signed-off-by: Patrick Roy <[email protected]>
1 parent 5191490 commit 2cbbee1

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 = []
16+
backend-bitmap = ["dep:libc"]
1717
backend-mmap = ["dep:libc"]
1818
backend-atomic = ["arc-swap"]
1919
rawfd = ["dep:libc"]

0 commit comments

Comments
 (0)