Skip to content

Commit

Permalink
rust: alloc: skip vec! for no_global_oom_handling
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
  • Loading branch information
ojeda committed Dec 2, 2021
1 parent 7aaec26 commit 2d5e1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/alloc/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/// be mindful of side effects.
///
/// [`Vec`]: crate::vec::Vec
#[cfg(not(test))]
#[cfg(all(not(no_global_oom_handling), not(test)))]
#[macro_export]
#[stable(feature = "rust1", since = "1.0.0")]
#[allow_internal_unstable(box_syntax, liballoc_internals)]
Expand Down

0 comments on commit 2d5e1de

Please sign in to comment.