| 
215 | 215 | // std may use features in a platform-specific way  | 
216 | 216 | #![allow(unused_features)]  | 
217 | 217 | 
 
  | 
 | 218 | +#![cfg_attr(test, feature(test, update_panic_count))]  | 
 | 219 | +#![cfg_attr(all(target_vendor = "fortanix", target_env = "sgx"),  | 
 | 220 | +            feature(global_asm, range_contains, slice_index_methods,  | 
 | 221 | +                    decl_macro, coerce_unsized, sgx_platform, ptr_wrapping_offset_from))]  | 
 | 222 | + | 
218 | 223 | // std is implemented with unstable features, many of which are internal  | 
219 | 224 | // compiler details that will never be stable  | 
220 |  | -#![cfg_attr(test, feature(test, update_panic_count))]  | 
221 |  | -#![feature(alloc)]  | 
 | 225 | +// NB: the following list is sorted to minimize merge conflicts.  | 
 | 226 | +#![feature(align_offset)]  | 
222 | 227 | #![feature(alloc_error_handler)]  | 
 | 228 | +#![feature(alloc_layout_extra)]  | 
 | 229 | +#![feature(alloc)]  | 
223 | 230 | #![feature(allocator_api)]  | 
224 | 231 | #![feature(allocator_internals)]  | 
225 | 232 | #![feature(allow_internal_unsafe)]  | 
226 | 233 | #![feature(allow_internal_unstable)]  | 
227 |  | -#![feature(align_offset)]  | 
228 | 234 | #![feature(arbitrary_self_types)]  | 
229 | 235 | #![feature(array_error_internals)]  | 
230 | 236 | #![feature(asm)]  | 
 | 
233 | 239 | #![feature(cfg_target_has_atomic)]  | 
234 | 240 | #![feature(cfg_target_thread_local)]  | 
235 | 241 | #![feature(char_error_internals)]  | 
 | 242 | +#![feature(checked_duration_since)]  | 
236 | 243 | #![feature(compiler_builtins_lib)]  | 
237 | 244 | #![feature(concat_idents)]  | 
238 |  | -#![feature(const_raw_ptr_deref)]  | 
239 | 245 | #![feature(const_cstr_unchecked)]  | 
 | 246 | +#![feature(const_raw_ptr_deref)]  | 
240 | 247 | #![feature(core_intrinsics)]  | 
 | 248 | +#![feature(doc_alias)]  | 
 | 249 | +#![feature(doc_cfg)]  | 
 | 250 | +#![feature(doc_keyword)]  | 
 | 251 | +#![feature(doc_masked)]  | 
 | 252 | +#![feature(doc_spotlight)]  | 
241 | 253 | #![feature(dropck_eyepatch)]  | 
242 | 254 | #![feature(duration_constants)]  | 
243 | 255 | #![feature(exact_size_is_empty)]  | 
 | 256 | +#![feature(exhaustive_patterns)]  | 
244 | 257 | #![feature(external_doc)]  | 
245 | 258 | #![feature(fixed_size_array)]  | 
246 | 259 | #![feature(fn_traits)]  | 
247 | 260 | #![feature(fnbox)]  | 
248 | 261 | #![feature(futures_api)]  | 
249 | 262 | #![feature(generator_trait)]  | 
 | 263 | +#![feature(hash_raw_entry)]  | 
250 | 264 | #![feature(hashmap_internals)]  | 
251 | 265 | #![feature(int_error_internals)]  | 
252 | 266 | #![feature(integer_atomics)]  | 
253 | 267 | #![feature(lang_items)]  | 
254 | 268 | #![feature(libc)]  | 
255 | 269 | #![feature(link_args)]  | 
256 | 270 | #![feature(linkage)]  | 
 | 271 | +#![feature(maybe_uninit)]  | 
257 | 272 | #![feature(needs_panic_runtime)]  | 
258 | 273 | #![feature(never_type)]  | 
259 | 274 | #![feature(nll)]  | 
260 |  | -#![feature(exhaustive_patterns)]  | 
 | 275 | +#![feature(non_exhaustive)]  | 
261 | 276 | #![feature(on_unimplemented)]  | 
262 | 277 | #![feature(optin_builtin_traits)]  | 
 | 278 | +#![feature(panic_info_message)]  | 
263 | 279 | #![feature(panic_internals)]  | 
264 | 280 | #![feature(panic_unwind)]  | 
265 | 281 | #![feature(prelude_import)]  | 
266 | 282 | #![feature(ptr_internals)]  | 
267 | 283 | #![feature(raw)]  | 
268 |  | -#![feature(hash_raw_entry)]  | 
 | 284 | +#![feature(renamed_spin_loop)]  | 
269 | 285 | #![feature(rustc_attrs)]  | 
270 | 286 | #![feature(rustc_const_unstable)]  | 
271 |  | -#![feature(std_internals)]  | 
272 |  | -#![feature(stdsimd)]  | 
 | 287 | +#![feature(rustc_private)]  | 
273 | 288 | #![feature(shrink_to)]  | 
274 | 289 | #![feature(slice_concat_ext)]  | 
275 | 290 | #![feature(slice_internals)]  | 
276 | 291 | #![feature(slice_patterns)]  | 
277 | 292 | #![feature(staged_api)]  | 
 | 293 | +#![feature(std_internals)]  | 
 | 294 | +#![feature(stdsimd)]  | 
278 | 295 | #![feature(stmt_expr_attributes)]  | 
279 | 296 | #![feature(str_internals)]  | 
280 |  | -#![feature(renamed_spin_loop)]  | 
281 |  | -#![feature(rustc_private)]  | 
282 | 297 | #![feature(thread_local)]  | 
283 | 298 | #![feature(toowned_clone_into)]  | 
284 | 299 | #![feature(try_from)]  | 
285 | 300 | #![feature(try_reserve)]  | 
286 | 301 | #![feature(unboxed_closures)]  | 
287 | 302 | #![feature(untagged_unions)]  | 
288 | 303 | #![feature(unwind_attributes)]  | 
289 |  | -#![feature(doc_cfg)]  | 
290 |  | -#![feature(doc_masked)]  | 
291 |  | -#![feature(doc_spotlight)]  | 
292 |  | -#![feature(doc_alias)]  | 
293 |  | -#![feature(doc_keyword)]  | 
294 |  | -#![feature(panic_info_message)]  | 
295 |  | -#![feature(non_exhaustive)]  | 
296 |  | -#![feature(alloc_layout_extra)]  | 
297 |  | -#![feature(maybe_uninit)]  | 
298 |  | -#![feature(checked_duration_since)]  | 
299 |  | -#![cfg_attr(all(target_vendor = "fortanix", target_env = "sgx"),  | 
300 |  | -            feature(global_asm, range_contains, slice_index_methods,  | 
301 |  | -                    decl_macro, coerce_unsized, sgx_platform, ptr_wrapping_offset_from))]  | 
 | 304 | +// NB: the above list is sorted to minimize merge conflicts.  | 
302 | 305 | 
 
  | 
303 | 306 | #![default_lib_allocator]  | 
304 | 307 | 
 
  | 
 | 
0 commit comments