Commit 26b22e7
committed
windows: make tests work with only feature backend-mmap
The tests module in mmap/windows.rs assumed that `crate::bitmap` was
always available, but it is not. Hide the imports / usage of that crate
behind appropriate cfgs.
Fixes: 4757a4a ("do not backdoor-enable backend-bitmap in unittests")
Signed-off-by: Patrick Roy <roypat@amazon.co.uk>1 parent 1ef0e61 commit 26b22e7
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| |||
260 | 261 | | |
261 | 262 | | |
262 | 263 | | |
| 264 | + | |
263 | 265 | | |
264 | 266 | | |
265 | 267 | | |
| |||
0 commit comments