Skip to content

Commit 87e4d24

Browse files
committed
[update] API not being set to be a compiler error.
1 parent 6d7419b commit 87e4d24

File tree

1 file changed

+1
-1
lines changed
  • crates/lambda-platform/src/gfx

1 file changed

+1
-1
lines changed

crates/lambda-platform/src/gfx/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ if #[cfg(feature = "gfx-with-gl")] {
1919
} else if #[cfg(all(feature = "detect-platform", unix, not(target_os = "macos")))] {
2020
pub use gfx_backend_gl as RenderingAPI;
2121
} else {
22-
panic!("No supported GPU API found for the current platform.");
22+
compile_error!("No supported GPU API found for the current platform.");
2323
}
2424
}

0 commit comments

Comments
 (0)