We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8035b97 commit 84cb871Copy full SHA for 84cb871
src/onefetch/image_backends/mod.rs
@@ -22,6 +22,10 @@ pub fn get_best_backend() -> Option<Box<dyn ImageBackend>> {
22
}
23
24
pub fn check_if_supported(backend_name: &str) -> Result<()> {
25
+
26
+ #[cfg(windows)]
27
+ return Err(format!("{} image backend is not supported", backend_name));
28
29
match backend_name {
30
"kitty" => {
31
if !kitty::KittyBackend::supported() {
0 commit comments