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.
profiling
1 parent fec411c commit dde9422Copy full SHA for dde9422
wgpu-core/src/instance.rs
@@ -408,7 +408,7 @@ impl Instance {
408
{
409
// NOTE: We might be using `profiling` without any features. The empty backend of this
410
// macro emits no code, so unused code linting changes depending on the backend.
411
- profiling::scope!("enumerating", &*format!("{:?}", _backend));
+ profiling::scope!("enumerating", &*alloc::format!("{:?}", _backend));
412
413
let hal_adapters = unsafe { instance.enumerate_adapters(None) };
414
for raw in hal_adapters {
0 commit comments