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 85ff1e7 commit 82793b3Copy full SHA for 82793b3
crates/rust/src/interface.rs
@@ -1988,7 +1988,7 @@ impl {camel} {{
1988
use core::any::TypeId;
1989
static mut LAST_TYPE: Option<TypeId> = None;
1990
unsafe {{
1991
- assert!(!cfg!(target_feature = "threads"));
+ assert!(!cfg!(target_feature = "atomics"));
1992
let id = TypeId::of::<T>();
1993
match LAST_TYPE {{
1994
Some(ty) => assert!(ty == id, "cannot use two types with this resource type"),
0 commit comments