diff options
| author | Dmitry Torokhov <[email protected]> | 2023-05-01 15:20:08 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-05-01 15:20:08 -0700 | 
| commit | 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e (patch) | |
| tree | d57f3a63479a07b4e0cece029886e76e04feb984 /rust/alloc/lib.rs | |
| parent | 5dc63e56a9cf8df0b59c234a505a1653f1bdf885 (diff) | |
| parent | 53bea86b5712c7491bb3dae12e271666df0a308c (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.4 merge window.
Diffstat (limited to 'rust/alloc/lib.rs')
| -rw-r--r-- | rust/alloc/lib.rs | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/alloc/lib.rs b/rust/alloc/lib.rs index 233bcd5e4654..3aebf83c9967 100644 --- a/rust/alloc/lib.rs +++ b/rust/alloc/lib.rs @@ -100,7 +100,7 @@  #![cfg_attr(not(no_global_oom_handling), feature(const_alloc_error))]  #![feature(const_box)]  #![cfg_attr(not(no_global_oom_handling), feature(const_btree_new))] -#![feature(const_cow_is_borrowed)] +#![cfg_attr(not(no_borrow), feature(const_cow_is_borrowed))]  #![feature(const_convert)]  #![feature(const_size_of_val)]  #![feature(const_align_of_val)] @@ -215,6 +215,7 @@ pub mod boxed;  mod boxed {      pub use std::boxed::Box;  } +#[cfg(not(no_borrow))]  pub mod borrow;  pub mod collections;  #[cfg(not(no_global_oom_handling))]  |