We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vec!
no_global_oom_handling
1 parent 7aaec26 commit 2d5e1deCopy full SHA for 2d5e1de
rust/alloc/macros.rs
@@ -36,7 +36,7 @@
36
/// be mindful of side effects.
37
///
38
/// [`Vec`]: crate::vec::Vec
39
-#[cfg(not(test))]
+#[cfg(all(not(no_global_oom_handling), not(test)))]
40
#[macro_export]
41
#[stable(feature = "rust1", since = "1.0.0")]
42
#[allow_internal_unstable(box_syntax, liballoc_internals)]
0 commit comments