diff --git a/wgpu-core/src/instance.rs b/wgpu-core/src/instance.rs index 0404d95be3..c1f31c3b5a 100644 --- a/wgpu-core/src/instance.rs +++ b/wgpu-core/src/instance.rs @@ -344,7 +344,8 @@ impl> Global { } let _ = (selected, id_vulkan, id_metal, id_dx12, id_dx11); - unreachable!() + log::warn!("Some adapters are present, but enumerating them failed!"); + None } pub fn adapter_get_info(&self, adapter_id: AdapterId) -> AdapterInfo {