|
212 | 212 | #![needs_panic_runtime] |
213 | 213 | // std may use features in a platform-specific way |
214 | 214 | #![allow(unused_features)] |
215 | | -#![feature(rustc_allow_const_fn_unstable)] |
216 | 215 | #![cfg_attr(test, feature(internal_output_capture, print_internals, update_panic_count))] |
217 | 216 | #![cfg_attr( |
218 | 217 | all(target_vendor = "fortanix", target_env = "sgx"), |
|
222 | 221 | // std is implemented with unstable features, many of which are internal |
223 | 222 | // compiler details that will never be stable |
224 | 223 | // NB: the following list is sorted to minimize merge conflicts. |
225 | | -#![feature(absolute_path)] |
226 | 224 | #![feature(alloc_error_handler)] |
227 | 225 | #![feature(alloc_layout_extra)] |
228 | 226 | #![feature(allocator_api)] |
229 | 227 | #![feature(allocator_internals)] |
230 | 228 | #![feature(allow_internal_unsafe)] |
231 | 229 | #![feature(allow_internal_unstable)] |
232 | | -#![feature(arbitrary_self_types)] |
233 | 230 | #![feature(array_error_internals)] |
234 | 231 | #![feature(assert_matches)] |
235 | | -#![feature(associated_type_bounds)] |
236 | 232 | #![feature(async_iterator)] |
237 | | -#![feature(atomic_mut_ptr)] |
238 | | -#![feature(auto_traits)] |
239 | 233 | #![feature(bench_black_box)] |
240 | | -#![feature(bool_to_option)] |
241 | 234 | #![feature(box_syntax)] |
242 | 235 | #![feature(c_unwind)] |
243 | 236 | #![feature(c_variadic)] |
|
248 | 241 | #![feature(char_internals)] |
249 | 242 | #![feature(concat_bytes)] |
250 | 243 | #![feature(concat_idents)] |
251 | | -#![feature(const_fn_floating_point_arithmetic)] |
252 | 244 | #![feature(const_fn_fn_ptr_basics)] |
253 | 245 | #![feature(const_fn_trait_bound)] |
254 | 246 | #![feature(const_format_args)] |
|
257 | 249 | #![feature(const_ipv4)] |
258 | 250 | #![feature(const_ipv6)] |
259 | 251 | #![feature(const_option)] |
260 | | -#![feature(const_mut_refs)] |
261 | 252 | #![feature(const_socketaddr)] |
262 | 253 | #![feature(const_trait_impl)] |
263 | | -#![feature(container_error_extra)] |
264 | 254 | #![feature(c_size_t)] |
265 | 255 | #![feature(core_ffi_c)] |
266 | 256 | #![feature(core_intrinsics)] |
|
279 | 269 | #![feature(exact_size_is_empty)] |
280 | 270 | #![feature(exhaustive_patterns)] |
281 | 271 | #![feature(extend_one)] |
282 | | -#![feature(fn_traits)] |
283 | 272 | #![feature(float_minimum_maximum)] |
284 | 273 | #![feature(format_args_nl)] |
285 | | -#![feature(gen_future)] |
286 | | -#![feature(generator_trait)] |
287 | 274 | #![feature(get_mut_unchecked)] |
288 | 275 | #![feature(hashmap_internals)] |
289 | 276 | #![feature(int_error_internals)] |
290 | | -#![feature(integer_atomics)] |
291 | | -#![feature(int_log)] |
292 | | -#![feature(into_future)] |
293 | 277 | #![feature(intra_doc_pointers)] |
294 | 278 | #![feature(lang_items)] |
295 | 279 | #![feature(linkage)] |
296 | 280 | #![feature(log_syntax)] |
297 | 281 | #![feature(map_try_insert)] |
298 | 282 | #![feature(maybe_uninit_slice)] |
299 | | -#![feature(maybe_uninit_uninit_array)] |
300 | 283 | #![feature(maybe_uninit_write_slice)] |
301 | 284 | #![feature(min_specialization)] |
302 | 285 | #![feature(mixed_integer_ops)] |
|
316 | 299 | #![feature(portable_simd)] |
317 | 300 | #![feature(prelude_import)] |
318 | 301 | #![feature(ptr_as_uninit)] |
319 | | -#![feature(ptr_internals)] |
320 | 302 | #![feature(raw_os_nonzero)] |
321 | 303 | #![feature(rustc_attrs)] |
322 | | -#![feature(rustc_private)] |
323 | 304 | #![feature(saturating_int_impl)] |
324 | | -#![feature(slice_concat_ext)] |
325 | 305 | #![feature(slice_internals)] |
326 | 306 | #![feature(slice_ptr_get)] |
327 | | -#![feature(slice_ptr_len)] |
328 | 307 | #![feature(staged_api)] |
329 | 308 | #![feature(std_internals)] |
330 | 309 | #![feature(stdsimd)] |
331 | | -#![feature(stmt_expr_attributes)] |
332 | 310 | #![feature(str_internals)] |
333 | 311 | #![feature(test)] |
334 | 312 | #![feature(thread_local)] |
|
338 | 316 | #![feature(trace_macros)] |
339 | 317 | #![feature(try_blocks)] |
340 | 318 | #![feature(try_reserve_kind)] |
341 | | -#![feature(unboxed_closures)] |
342 | | -#![feature(unwrap_infallible)] |
343 | 319 | #![feature(vec_into_raw_parts)] |
344 | 320 | // NB: the above list is sorted to minimize merge conflicts. |
345 | 321 | #![default_lib_allocator] |
|
0 commit comments