1. The Unstable Book
  2. Compiler environment variables
    1. RUSTC_BOOTSTRAP
    2. RUSTC_OVERRIDE_VERSION_STRING
  3. Compiler flags
    1. allow_features
    2. autodiff
    3. branch_protection
    4. cf_protection
    5. codegen_backend
    6. codegen_options
    7. control_flow_guard
    8. coverage_options
    9. crate_attr
    10. debug_info_for_profiling
    11. debug_info_type_line_numbers
    12. default_visibility
    13. direct_access_external_data
    14. dump_mono_stats
    15. dump_mono_stats_format
    16. dylib_lto
    17. eagerly_emit_delayed_bugs
    18. embed_metadata
    19. embed_source
    20. emit_stack_sizes
    21. emscripten_wasm_eh
    22. env_set
    23. export_executable_symbols
    24. extern_options
    25. external_clangrt
    26. fixed_x18
    27. fmt_debug
    28. function_return
    29. instrument_xray
    30. link_native_libraries
    31. linker_features
    32. lint_llvm_ir
    33. llvm_module_flag
    34. location_detail
    35. min_function_alignment
    36. move_size_limit
    37. no_jump_tables
    38. no_parallel_llvm
    39. no_unique_section_names
    40. on_broken_pipe
    41. patchable_function_entry
    42. print_check_cfg
    43. print_crate_root_lint_levels
    44. print_supported_crate_types
    45. profile_sample_use
    46. randomize_layout
    47. reg_struct_return
    48. regparm
    49. remap_cwd_prefix
    50. remap_path_scope
    51. report_time
    52. sanitizer
    53. self_profile
    54. self_profile_events
    55. shell_argfiles
    56. small_data_threshold
    57. src_hash_algorithm
    58. temps_dir
    59. tiny_const_eval_limit
    60. tls_model
    61. track_diagnostics
    62. treat_err_as_bug
    63. ub_checks
    64. unsound_mir_opts
    65. verbose_asm
    66. virtual_function_elimination
    67. wasm_c_abi
  4. Language features
    1. aarch64_unstable_target_feature
    2. aarch64_ver_target_feature
    3. abi_avr_interrupt
    4. abi_c_cmse_nonsecure_call
    5. abi_gpu_kernel
    6. abi_msp430_interrupt
    7. abi_ptx
    8. abi_riscv_interrupt
    9. abi_unadjusted
    10. abi_vectorcall
    11. abi_x86_interrupt
    12. adt_const_params
    13. alloc_error_handler
    14. allocator_internals
    15. allow_internal_unsafe
    16. allow_internal_unstable
    17. anonymous_lifetime_in_impl_trait
    18. apx_target_feature
    19. arbitrary_self_types
    20. arbitrary_self_types_pointers
    21. arm_target_feature
    22. asm_cfg
    23. asm_experimental_arch
    24. asm_experimental_reg
    25. asm_goto_with_outputs
    26. asm_unwind
    27. associated_const_equality
    28. associated_type_defaults
    29. async_drop
    30. async_fn_in_dyn_trait
    31. async_fn_track_caller
    32. async_for_loop
    33. async_trait_bounds
    34. auto_traits
    35. avx10_target_feature
    36. box_patterns
    37. bpf_target_feature
    38. builtin_syntax
    39. c_variadic
    40. cfg_contract_checks
    41. cfg_emscripten_wasm_eh
    42. cfg_overflow_checks
    43. cfg_relocation_model
    44. cfg_sanitize
    45. cfg_sanitizer_cfi
    46. cfg_target_compact
    47. cfg_target_has_atomic
    48. cfg_target_has_atomic_equal_alignment
    49. cfg_target_has_reliable_f16_f128
    50. cfg_target_thread_local
    51. cfg_ub_checks
    52. cfg_version
    53. cfi_encoding
    54. closure_lifetime_binder
    55. closure_track_caller
    56. cmse_nonsecure_entry
    57. compiler_builtins
    58. const_async_blocks
    59. const_closures
    60. const_destruct
    61. const_for
    62. const_precise_live_drops
    63. const_trait_impl
    64. const_try
    65. contracts
    66. contracts_internals
    67. coroutine_clone
    68. coroutines
    69. coverage_attribute
    70. csky_target_feature
    71. custom_inner_attributes
    72. custom_mir
    73. custom_test_frameworks
    74. decl_macro
    75. default_field_values
    76. deprecated_safe
    77. deprecated_suggestion
    78. deref_patterns
    79. doc_auto_cfg
    80. doc_cfg
    81. doc_cfg_hide
    82. doc_masked
    83. doc_notable_trait
    84. dropck_eyepatch
    85. dyn_star
    86. ergonomic_clones
    87. ermsb_target_feature
    88. exhaustive_patterns
    89. explicit_extern_abis
    90. explicit_tail_calls
    91. export_stable
    92. extended_varargs_abi_support
    93. extern_system_varargs
    94. extern_types
    95. f128
    96. f16
    97. ffi_const
    98. ffi_pure
    99. fmt_debug
    100. fn_align
    101. fn_delegation
    102. freeze_impls
    103. frontmatter
    104. fundamental
    105. gen_blocks
    106. generic_arg_infer
    107. generic_assert
    108. generic_const_exprs
    109. generic_const_items
    110. generic_const_parameter_types
    111. generic_pattern_types
    112. global_registration
    113. guard_patterns
    114. half_open_range_patterns_in_slices
    115. hexagon_target_feature
    116. if_let_guard
    117. impl_trait_in_assoc_type
    118. impl_trait_in_bindings
    119. impl_trait_in_fn_trait_return
    120. import_trait_associated_functions
    121. inherent_associated_types
    122. intra_doc_pointers
    123. intrinsics
    124. keylocker_x86
    125. lahfsahf_target_feature
    126. lang_items
    127. large_assignments
    128. lazy_type_alias
    129. let_chains
    130. link_arg_attribute
    131. link_cfg
    132. link_llvm_intrinsics
    133. linkage
    134. loongarch_target_feature
    135. m68k_target_feature
    136. macro_metavar_expr
    137. macro_metavar_expr_concat
    138. marker_trait_attr
    139. min_generic_const_args
    140. min_specialization
    141. mips_target_feature
    142. more_maybe_bounds
    143. more_qualified_paths
    144. movrs_target_feature
    145. multiple_supertrait_upcastable
    146. must_not_suspend
    147. mut_ref
    148. naked_functions_rustic_abi
    149. naked_functions_target_feature
    150. native_link_modifiers_as_needed
    151. needs_panic_runtime
    152. negative_bounds
    153. negative_impls
    154. never_patterns
    155. never_type
    156. never_type_fallback
    157. new_range
    158. no_core
    159. no_sanitize
    160. non_exhaustive_omitted_patterns_lint
    161. non_lifetime_binders
    162. offset_of_enum
    163. offset_of_slice
    164. omit_gdb_pretty_printer_section
    165. optimize_attribute
    166. panic_runtime
    167. patchable_function_entry
    168. pattern_complexity_limit
    169. pattern_types
    170. pin_ergonomics
    171. postfix_match
    172. powerpc_target_feature
    173. prelude_import
    174. prfchw_target_feature
    175. proc_macro_hygiene
    176. profiler_runtime
    177. raw_dylib_elf
    178. ref_pat_eat_one_layer_2024
    179. ref_pat_eat_one_layer_2024_structural
    180. register_tool
    181. repr_simd
    182. return_type_notation
    183. riscv_target_feature
    184. rtm_target_feature
    185. rust_cold_cc
    186. rustc_allow_const_fn_unstable
    187. rustc_attrs
    188. rustc_private
    189. rustdoc_internals
    190. rustdoc_missing_doc_code_examples
    191. s390x_target_feature
    192. sha512_sm_x86
    193. simd_ffi
    194. sparc_target_feature
    195. specialization
    196. sse4a_target_feature
    197. staged_api
    198. stmt_expr_attributes
    199. strict_provenance_lints
    200. string_deref_patterns
    201. structural_match
    202. super_let
    203. supertrait_item_shadowing
    204. tbm_target_feature
    205. test_unstable_lint
    206. thread_local
    207. trait_alias
    208. transmute_generic_consts
    209. transparent_unions
    210. trivial_bounds
    211. try_blocks
    212. type_alias_impl_trait
    213. type_changing_struct_update
    214. unboxed_closures
    215. unqualified_local_imports
    216. unsafe_binders
    217. unsafe_fields
    218. unsized_const_params
    219. unsized_fn_params
    220. unsized_locals
    221. used_with_arg
    222. wasm_target_feature
    223. where_clause_attrs
    224. with_negative_coherence
    225. x86_amx_intrinsics
    226. x87_target_feature
    227. xop_target_feature
    228. yeet_expr
    229. yield_expr
  5. Library Features
    1. abort_unwind
    2. acceptfilter
    3. addr_parse_ascii
    4. align_to_uninit_mut
    5. alloc_error_hook
    6. alloc_internals
    7. alloc_layout_extra
    8. allocator_api
    9. alloctests
    10. arc_is_unique
    11. array_chunks
    12. array_into_iter_constructors
    13. array_ptr_get
    14. array_repeat
    15. array_try_from_fn
    16. array_try_map
    17. array_windows
    18. as_array_of_cells
    19. ascii_char
    20. ascii_char_variants
    21. assert_matches
    22. async_fn_traits
    23. async_gen_internals
    24. async_iter_from_iter
    25. async_iterator
    26. atomic_from_mut
    27. atomic_internals
    28. atomic_try_update
    29. autodiff
    30. backtrace_frames
    31. bigint_helper_methods
    32. bikeshed_guaranteed_no_drop
    33. binary_heap_drain_sorted
    34. binary_heap_into_iter_sorted
    35. binary_heap_peek_mut_refresh
    36. bound_as_ref
    37. box_as_ptr
    38. box_into_boxed_slice
    39. box_into_inner
    40. box_vec_non_null
    41. breakpoint
    42. bstr
    43. bstr_internals
    44. btree_cursors
    45. btree_entry_insert
    46. btree_extract_if
    47. btree_set_entry
    48. btreemap_alloc
    49. buf_read_has_data_left
    50. bufreader_peek
    51. c_size_t
    52. c_void_variant
    53. can_vector
    54. cell_leak
    55. cfg_accessible
    56. cfg_eval
    57. cfg_select
    58. char_internals
    59. char_max_len
    60. clone_to_uninit
    61. cmp_minmax
    62. coerce_pointee_validated
    63. coerce_unsized
    64. cold_path
    65. concat_bytes
    66. concat_idents
    67. const_alloc_error
    68. const_array_each_ref
    69. const_btree_len
    70. const_carrying_mul_add
    71. const_deref
    72. const_eq_ignore_ascii_case
    73. const_eval_select
    74. const_format_args
    75. const_heap
    76. const_ops
    77. const_range_bounds
    78. const_raw_ptr_comparison
    79. const_slice_from_mut_ptr_range
    80. const_slice_from_ptr_range
    81. const_slice_make_iter
    82. const_slice_reverse
    83. const_split_off_first_last
    84. const_type_id
    85. const_type_name
    86. container_error_extra
    87. context_ext
    88. control_flow_into_value
    89. convert_float_to_int
    90. core_float_math
    91. core_intrinsics
    92. core_intrinsics_fallbacks
    93. core_io_borrowed_buf
    94. core_private_bignum
    95. core_private_diy_float
    96. coroutine_trait
    97. cow_is_borrowed
    98. cstr_bytes
    99. cstr_display
    100. cstr_internals
    101. cursor_split
    102. deadline_api
    103. debug_closure_helpers
    104. dec2flt
    105. deref_pure_trait
    106. derive_clone_copy
    107. derive_coerce_pointee
    108. derive_const
    109. derive_eq
    110. dir_entry_ext2
    111. discriminant_kind
    112. disjoint_bitor
    113. dispatch_from_dyn
    114. downcast_unchecked
    115. drain_keep_rest
    116. duration_constants
    117. duration_constructors
    118. duration_constructors_lite
    119. duration_millis_float
    120. duration_units
    121. edition_panic
    122. error_generic_member_access
    123. error_iter
    124. error_reporter
    125. error_type_id
    126. exact_size_is_empty
    127. exclusive_wrapper
    128. exit_status_error
    129. exitcode_exit_method
    130. extend_one
    131. extend_one_unchecked
    132. fd
    133. fd_read
    134. file_buffered
    135. file_lock
    136. float_algebraic
    137. float_erf
    138. float_gamma
    139. float_minimum_maximum
    140. flt2dec
    141. fmt_helpers_for_derive
    142. fmt_internals
    143. fn_ptr_trait
    144. fn_traits
    145. forget_unsized
    146. format_args_nl
    147. formatting_options
    148. freeze
    149. future_join
    150. gen_future
    151. generic_assert_internals
    152. generic_atomic
    153. get_disjoint_mut_helpers
    154. get_mut_unchecked
    155. hash_set_entry
    156. hasher_prefixfree_extras
    157. hashmap_internals
    158. hint_must_use
    159. inplace_iteration
    160. int_from_ascii
    161. int_roundings
    162. integer_atomics
    163. internal_impls_macro
    164. internal_output_capture
    165. io_const_error
    166. io_const_error_internals
    167. io_error_inprogress
    168. io_error_more
    169. io_error_uncategorized
    170. io_slice_as_bytes
    171. ip
    172. ip_as_octets
    173. ip_from
    174. is_ascii_octdigit
    175. is_loongarch_feature_detected
    176. is_riscv_feature_detected
    177. isolate_most_least_significant_one
    178. iter_advance_by
    179. iter_array_chunks
    180. iter_chain
    181. iter_collect_into
    182. iter_from_coroutine
    183. iter_intersperse
    184. iter_is_partitioned
    185. iter_map_windows
    186. iter_next_chunk
    187. iter_order_by
    188. iter_partition_in_place
    189. iterator_try_collect
    190. iterator_try_reduce
    191. junction_point
    192. layout_for_ptr
    193. lazy_cell_into_inner
    194. lazy_get
    195. legacy_receiver_trait
    196. liballoc_internals
    197. libstd_sys_internals
    198. likely_unlikely
    199. linked_list_cursors
    200. linked_list_remove
    201. linked_list_retain
    202. linux_pidfd
    203. local_waker
    204. lock_value_accessors
    205. log_syntax
    206. map_try_insert
    207. mapped_lock_guards
    208. maybe_uninit_array_assume_init
    209. maybe_uninit_as_bytes
    210. maybe_uninit_fill
    211. maybe_uninit_slice
    212. maybe_uninit_uninit_array_transpose
    213. maybe_uninit_write_slice
    214. mem_copy_fn
    215. mixed_integer_ops_unsigned_sub
    216. more_float_constants
    217. mpmc_channel
    218. mutex_data_ptr
    219. new_range_api
    220. new_zeroed_alloc
    221. next_index
    222. nonnull_provenance
    223. nonzero_bitwise
    224. nonzero_from_mut
    225. nonzero_internals
    226. nonzero_ops
    227. normalize_lexically
    228. numfmt
    229. once_cell_get_mut
    230. once_cell_try
    231. once_cell_try_insert
    232. one_sided_range
    233. option_array_transpose
    234. option_zip
    235. os_str_slice
    236. os_string_pathbuf_leak
    237. os_string_truncate
    238. panic_abort
    239. panic_always_abort
    240. panic_backtrace_config
    241. panic_can_unwind
    242. panic_internals
    243. panic_payload_as_str
    244. panic_unwind
    245. panic_update_hook
    246. partial_ord_chaining_methods
    247. path_add_extension
    248. path_file_prefix
    249. pattern
    250. pattern_type_macro
    251. pattern_type_range_trait
    252. peer_credentials_unix_socket
    253. phantom_variance_markers
    254. pin_coerce_unsized_trait
    255. pointer_is_aligned_to
    256. pointer_like_trait
    257. pointer_try_cast_aligned
    258. portable_simd
    259. prelude_future
    260. prelude_next
    261. print_internals
    262. proc_macro_def_site
    263. proc_macro_diagnostic
    264. proc_macro_expand
    265. proc_macro_internals
    266. proc_macro_quote
    267. proc_macro_span
    268. proc_macro_totokens
    269. proc_macro_tracked_env
    270. proc_macro_value
    271. process_chroot
    272. process_exitcode_internals
    273. process_internals
    274. profiler_runtime_lib
    275. ptr_alignment_type
    276. ptr_as_ref_unchecked
    277. ptr_as_uninit
    278. ptr_internals
    279. ptr_mask
    280. ptr_metadata
    281. pub_crate_should_not_need_unstable_attr
    282. random
    283. range_bounds_is_empty
    284. range_into_bounds
    285. raw_os_error_ty
    286. raw_slice_split
    287. raw_vec_internals
    288. read_buf
    289. reentrant_lock
    290. reentrant_lock_data_ptr
    291. restricted_std
    292. result_flattening
    293. result_option_map_or_default
    294. round_char_boundary
    295. rt
    296. rwlock_data_ptr
    297. rwlock_downgrade
    298. sealed
    299. seek_io_take_position
    300. seek_stream_len
    301. set_ptr_value
    302. setgroups
    303. sgx_platform
    304. sized_type_properties
    305. slice_as_array
    306. slice_concat_ext
    307. slice_concat_trait
    308. slice_from_ptr_range
    309. slice_index_methods
    310. slice_internals
    311. slice_iter_mut_as_mut_slice
    312. slice_partition_dedup
    313. slice_pattern
    314. slice_ptr_get
    315. slice_range
    316. slice_split_once
    317. slice_swap_unchecked
    318. solid_ext
    319. sort_floats
    320. split_array
    321. split_as_slice
    322. std_internals
    323. stdarch_arm_feature_detection
    324. stdarch_mips_feature_detection
    325. stdarch_powerpc_feature_detection
    326. stdarch_s390x_feature_detection
    327. stdio_makes_pipe
    328. step_trait
    329. str_as_str
    330. str_from_raw_parts
    331. str_from_utf16_endian
    332. str_internals
    333. str_lines_remainder
    334. str_split_inclusive_remainder
    335. str_split_remainder
    336. str_split_whitespace_remainder
    337. strict_overflow_ops
    338. strict_provenance_atomic_ptr
    339. string_from_utf8_lossy_owned
    340. string_into_chars
    341. string_remove_matches
    342. substr_range
    343. sync_poison_mod
    344. sync_unsafe_cell
    345. tcp_deferaccept
    346. tcp_linger
    347. tcp_quickack
    348. tcplistener_into_incoming
    349. temporary_niche_types
    350. test
    351. thin_box
    352. thread_id_value
    353. thread_local_internals
    354. thread_raw
    355. thread_sleep_until
    356. thread_spawn_hook
    357. trace_macros
    358. track_path
    359. transmutability
    360. trusted_fused
    361. trusted_len
    362. trusted_len_next_unchecked
    363. trusted_random_access
    364. trusted_step
    365. try_find
    366. try_reserve_kind
    367. try_trait_v2
    368. try_trait_v2_residual
    369. try_trait_v2_yeet
    370. try_with_capacity
    371. tuple_trait
    372. type_ascription
    373. ub_checks
    374. uefi_std
    375. unchecked_neg
    376. unchecked_shifts
    377. unicode_internals
    378. unique_rc_arc
    379. unix_file_vectored_at
    380. unix_mkfifo
    381. unix_set_mark
    382. unix_socket_ancillary_data
    383. unix_socket_peek
    384. unsafe_cell_access
    385. unsafe_pinned
    386. unsigned_nonzero_div_ceil
    387. unsigned_signed_diff
    388. unsize
    389. unwrap_infallible
    390. update_panic_count
    391. utf16_extra
    392. variant_count
    393. vec_deque_iter_as_slices
    394. vec_deque_pop_if
    395. vec_deque_truncate_front
    396. vec_into_raw_parts
    397. vec_push_within_capacity
    398. vec_split_at_spare
    399. wasi_ext
    400. windows_by_handle
    401. windows_c
    402. windows_change_time
    403. windows_handle
    404. windows_net
    405. windows_process_exit_code_from
    406. windows_process_extensions_async_pipes
    407. windows_process_extensions_force_quotes
    408. windows_process_extensions_main_thread_handle
    409. windows_process_extensions_raw_attribute
    410. windows_process_extensions_show_window
    411. windows_process_extensions_startupinfo
    412. windows_stdio
    413. wrapping_int_impl
    414. wrapping_next_power_of_two
    415. write_all_vectored
    416. yeet_desugar_details