We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d7419b commit 87e4d24Copy full SHA for 87e4d24
crates/lambda-platform/src/gfx/api.rs
@@ -19,6 +19,6 @@ if #[cfg(feature = "gfx-with-gl")] {
19
} else if #[cfg(all(feature = "detect-platform", unix, not(target_os = "macos")))] {
20
pub use gfx_backend_gl as RenderingAPI;
21
} else {
22
- panic!("No supported GPU API found for the current platform.");
+ compile_error!("No supported GPU API found for the current platform.");
23
}
24
0 commit comments