diff options
| author | Jane Lusby <jlusby@yaah.dev> | 2022-04-11 18:12:26 -0700 |
|---|---|---|
| committer | Jane Losare-Lusby <jlusby@yaah.dev> | 2022-07-08 21:18:13 +0000 |
| commit | e7fe5456c53a8cc620a10f6284c366d6de0b7df0 (patch) | |
| tree | a6602956abf2346184eacb332fe48cefa03afcb8 /library/std/src/lib.rs | |
| parent | 052495d0017e2b18b781bcf0469a048e5051f5c0 (diff) | |
| download | rust-e7fe5456c53a8cc620a10f6284c366d6de0b7df0.tar.gz rust-e7fe5456c53a8cc620a10f6284c366d6de0b7df0.zip | |
Support unstable moves via stable in unstable items
Diffstat (limited to 'library/std/src/lib.rs')
| -rw-r--r-- | library/std/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 298321f41e4..8bd597d49aa 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -214,7 +214,7 @@ #![cfg_attr(not(bootstrap), deny(ffi_unwind_calls))] // std may use features in a platform-specific way #![allow(unused_features)] -#![cfg_attr(test, feature(internal_output_capture, print_internals, update_panic_count))] +#![cfg_attr(test, feature(internal_output_capture, print_internals, update_panic_count, rt))] #![cfg_attr( all(target_vendor = "fortanix", target_env = "sgx"), feature(slice_index_methods, coerce_unsized, sgx_platform) @@ -297,6 +297,7 @@ // Library features (alloc): #![feature(alloc_layout_extra)] #![feature(alloc_c_string)] +#![feature(alloc_ffi)] #![feature(allocator_api)] #![feature(get_mut_unchecked)] #![feature(map_try_insert)] |
