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 e896fab commit 8bdedbaCopy full SHA for 8bdedba
src/d3d12/mod.rs
@@ -1,11 +1,13 @@
1
+#[cfg(feature = "std")]
2
+use alloc::sync::Arc;
3
use alloc::{boxed::Box, string::String, vec::Vec};
4
use core::{
5
fmt,
6
// TODO: Remove when bumping MSRV to 1.80
7
mem::size_of_val,
8
};
9
#[cfg(feature = "std")]
-use std::{backtrace::Backtrace, sync::Arc};
10
+use std::backtrace::Backtrace;
11
12
use log::{debug, warn, Level};
13
use windows::Win32::{
src/metal/mod.rs
@@ -1,6 +1,8 @@
use alloc::{boxed::Box, string::ToString, vec::Vec};
use log::debug;
use objc2::{rc::Retained, runtime::ProtocolObject};
0 commit comments