From f781a6b6caeeaa76817e2811544939662b5bdf56 Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Fri, 21 Feb 2025 22:47:06 -0500 Subject: [PATCH] Fix Obscured Warning (#7193) --- wgpu-hal/src/auxil/renderdoc.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wgpu-hal/src/auxil/renderdoc.rs b/wgpu-hal/src/auxil/renderdoc.rs index 14a5832dc0..619c4b895a 100644 --- a/wgpu-hal/src/auxil/renderdoc.rs +++ b/wgpu-hal/src/auxil/renderdoc.rs @@ -1,6 +1,7 @@ //! RenderDoc integration - -use std::{ffi, os, ptr, string::String}; +use alloc::string::String; +use core::{ffi, ptr}; /// The dynamically loaded RenderDoc API function table #[repr(C)] @@ -109,7 +110,7 @@ impl Default for RenderDoc { } } /// An implementation specific handle -pub type Handle = *mut os::raw::c_void; +pub type Handle = *mut ffi::c_void; impl RenderDoc { /// Start a RenderDoc frame capture