We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 149ed93 commit 4889b47Copy full SHA for 4889b47
wgpu-core/src/instance.rs
@@ -213,7 +213,7 @@ impl Instance {
213
/// This function is only available on Unix-like platforms (Linux, FreeBSD) and
214
/// currently only works with the Vulkan backend.
215
#[cfg(all(unix, not(target_vendor = "apple"), not(target_family = "wasm")))]
216
- #[cfg_attr(not(vulkan), allow(unused_variables))]
+ #[cfg_attr(not(vulkan), expect(unused_variables))]
217
pub unsafe fn create_surface_from_drm(
218
&self,
219
fd: i32,
0 commit comments