Skip to content

Commit c8ed05f

Browse files
committed
Fix missing function for non-Linux targets
1 parent 7d25da0 commit c8ed05f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/image_backends/mod.rs

+5
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ pub fn get_best_backend() -> Option<Box<dyn ImageBackend>> {
1515
None
1616
}
1717
}
18+
19+
#[cfg(not(target_os = "linux"))]
20+
pub fn get_best_backend() -> Option<Box<dyn ImageBackend>> {
21+
None
22+
}

0 commit comments

Comments
 (0)