1. The Unstable Book
  2. 1. Compiler flags
    1. 1.1. control_flow_guard
    2. 1.2. emit_stack_sizes
    3. 1.3. profile
    4. 1.4. report_time
    5. 1.5. sanitizer
    6. 1.6. self_profile
    7. 1.7. self_profile_events
    8. 1.8. src_hash_algorithm
    9. 1.9. strip
    10. 1.10. tls_model
  3. 2. Language features
    1. 2.1. aarch64_target_feature
    2. 2.2. abi_amdgpu_kernel
    3. 2.3. abi_avr_interrupt
    4. 2.4. abi_efiapi
    5. 2.5. abi_msp430_interrupt
    6. 2.6. abi_ptx
    7. 2.7. abi_thiscall
    8. 2.8. abi_unadjusted
    9. 2.9. abi_vectorcall
    10. 2.10. abi_x86_interrupt
    11. 2.11. adx_target_feature
    12. 2.12. alloc_error_handler
    13. 2.13. allocator_internals
    14. 2.14. allow_fail
    15. 2.15. allow_internal_unsafe
    16. 2.16. allow_internal_unstable
    17. 2.17. arbitrary_enum_discriminant
    18. 2.18. arbitrary_self_types
    19. 2.19. arm_target_feature
    20. 2.20. associated_type_bounds
    21. 2.21. associated_type_defaults
    22. 2.22. async_closure
    23. 2.23. avx512_target_feature
    24. 2.24. bindings_after_at
    25. 2.25. box_patterns
    26. 2.26. box_syntax
    27. 2.27. c_variadic
    28. 2.28. cfg_sanitize
    29. 2.29. cfg_target_has_atomic
    30. 2.30. cfg_target_thread_local
    31. 2.31. cfg_version
    32. 2.32. cmpxchg16b_target_feature
    33. 2.33. compiler_builtins
    34. 2.34. const_eval_limit
    35. 2.35. const_evaluatable_checked
    36. 2.36. const_extern_fn
    37. 2.37. const_fn
    38. 2.38. const_fn_transmute
    39. 2.39. const_fn_union
    40. 2.40. const_generics
    41. 2.41. const_in_array_repeat_expressions
    42. 2.42. const_mut_refs
    43. 2.43. const_panic
    44. 2.44. const_precise_live_drops
    45. 2.45. const_raw_ptr_deref
    46. 2.46. const_raw_ptr_to_usize_cast
    47. 2.47. const_trait_bound_opt_out
    48. 2.48. const_trait_impl
    49. 2.49. crate_visibility_modifier
    50. 2.50. custom_inner_attributes
    51. 2.51. custom_test_frameworks
    52. 2.52. decl_macro
    53. 2.53. default_type_parameter_fallback
    54. 2.54. doc_alias
    55. 2.55. doc_cfg
    56. 2.56. doc_keyword
    57. 2.57. doc_masked
    58. 2.58. doc_spotlight
    59. 2.59. dropck_eyepatch
    60. 2.60. exclusive_range_pattern
    61. 2.61. exhaustive_patterns
    62. 2.62. extern_types
    63. 2.63. external_doc
    64. 2.64. f16c_target_feature
    65. 2.65. ffi_const
    66. 2.66. ffi_pure
    67. 2.67. ffi_returns_twice
    68. 2.68. format_args_capture
    69. 2.69. fundamental
    70. 2.70. generators
    71. 2.71. generic_associated_types
    72. 2.72. half_open_range_patterns
    73. 2.73. hexagon_target_feature
    74. 2.74. if_let_guard
    75. 2.75. impl_trait_in_bindings
    76. 2.76. in_band_lifetimes
    77. 2.77. infer_static_outlives_requirements
    78. 2.78. intrinsics
    79. 2.79. label_break_value
    80. 2.80. lang_items
    81. 2.81. lazy_normalization_consts
    82. 2.82. let_chains
    83. 2.83. link_args
    84. 2.84. link_cfg
    85. 2.85. link_llvm_intrinsics
    86. 2.86. linkage
    87. 2.87. lint_reasons
    88. 2.88. main
    89. 2.89. marker_trait_attr
    90. 2.90. member_constraints
    91. 2.91. min_const_generics
    92. 2.92. min_specialization
    93. 2.93. mips_target_feature
    94. 2.94. mmx_target_feature
    95. 2.95. movbe_target_feature
    96. 2.96. move_ref_pattern
    97. 2.97. naked_functions
    98. 2.98. needs_panic_runtime
    99. 2.99. negative_impls
    100. 2.100. never_type
    101. 2.101. never_type_fallback
    102. 2.102. nll
    103. 2.103. no_core
    104. 2.104. no_niche
    105. 2.105. no_sanitize
    106. 2.106. non_ascii_idents
    107. 2.107. object_safe_for_dispatch
    108. 2.108. omit_gdb_pretty_printer_section
    109. 2.109. optimize_attribute
    110. 2.110. optin_builtin_traits
    111. 2.111. or_patterns
    112. 2.112. panic_runtime
    113. 2.113. platform_intrinsics
    114. 2.114. plugin
    115. 2.115. plugin_registrar
    116. 2.116. powerpc_target_feature
    117. 2.117. precise_pointer_size_matching
    118. 2.118. prelude_import
    119. 2.119. proc_macro_hygiene
    120. 2.120. profiler_runtime
    121. 2.121. raw_dylib
    122. 2.122. raw_ref_op
    123. 2.123. register_attr
    124. 2.124. register_tool
    125. 2.125. repr_simd
    126. 2.126. repr128
    127. 2.127. riscv_target_feature
    128. 2.128. rtm_target_feature
    129. 2.129. rustc_attrs
    130. 2.130. rustc_private
    131. 2.131. simd_ffi
    132. 2.132. specialization
    133. 2.133. sse4a_target_feature
    134. 2.134. staged_api
    135. 2.135. start
    136. 2.136. static_nobundle
    137. 2.137. stmt_expr_attributes
    138. 2.138. structural_match
    139. 2.139. target_feature_11
    140. 2.140. tbm_target_feature
    141. 2.141. test_2018_feature
    142. 2.142. thread_local
    143. 2.143. trait_alias
    144. 2.144. transparent_unions
    145. 2.145. trivial_bounds
    146. 2.146. try_blocks
    147. 2.147. type_alias_impl_trait
    148. 2.148. type_ascription
    149. 2.149. unboxed_closures
    150. 2.150. unsafe_block_in_unsafe_fn
    151. 2.151. unsized_locals
    152. 2.152. unsized_tuple_coercion
    153. 2.153. untagged_unions
    154. 2.154. unwind_attributes
    155. 2.155. wasm_target_feature
  4. 3. Library Features
    1. 3.1. alloc_error_hook
    2. 3.2. alloc_internals
    3. 3.3. alloc_layout_extra
    4. 3.4. alloc_prelude
    5. 3.5. allocator_api
    6. 3.6. arc_mutate_strong_count
    7. 3.7. arc_new_cyclic
    8. 3.8. array_chunks
    9. 3.9. array_error_internals
    10. 3.10. array_map
    11. 3.11. array_methods
    12. 3.12. array_value_iter
    13. 3.13. asm
    14. 3.14. assoc_char_consts
    15. 3.15. assoc_char_funcs
    16. 3.16. atomic_mut_ptr
    17. 3.17. backtrace
    18. 3.18. binary_heap_drain_sorted
    19. 3.19. binary_heap_into_iter_sorted
    20. 3.20. binary_heap_retain
    21. 3.21. bool_to_option
    22. 3.22. bound_cloned
    23. 3.23. box_into_boxed_slice
    24. 3.24. box_into_pin
    25. 3.25. btree_drain_filter
    26. 3.26. bufreader_seek_relative
    27. 3.27. c_void_variant
    28. 3.28. can_vector
    29. 3.29. cell_leak
    30. 3.30. cell_update
    31. 3.31. cfg_accessible
    32. 3.32. char_error_internals
    33. 3.33. char_internals
    34. 3.34. clamp
    35. 3.35. cmp_min_max_by
    36. 3.36. coerce_unsized
    37. 3.37. concat_idents
    38. 3.38. const_align_of_val
    39. 3.39. const_alloc_layout
    40. 3.40. const_btree_new
    41. 3.41. const_caller_location
    42. 3.42. const_checked_int_methods
    43. 3.43. const_cstr_unchecked
    44. 3.44. const_cttz
    45. 3.45. const_discriminant
    46. 3.46. const_euclidean_int_methods
    47. 3.47. const_float_bits_conv
    48. 3.48. const_float_classify
    49. 3.49. const_int_pow
    50. 3.50. const_int_unchecked_arith
    51. 3.51. const_ipv4
    52. 3.52. const_ipv6
    53. 3.53. const_likely
    54. 3.54. const_maybe_uninit_as_ptr
    55. 3.55. const_nonnull_slice_from_raw_parts
    56. 3.56. const_option
    57. 3.57. const_overflowing_int_methods
    58. 3.58. const_pref_align_of
    59. 3.59. const_ptr_is_null
    60. 3.60. const_ptr_offset
    61. 3.61. const_ptr_offset_from
    62. 3.62. const_raw_ptr_comparison
    63. 3.63. const_result
    64. 3.64. const_size_of_val
    65. 3.65. const_slice_from_raw_parts
    66. 3.66. const_slice_ptr_len
    67. 3.67. const_str_from_utf8_unchecked
    68. 3.68. const_type_name
    69. 3.69. const_unreachable_unchecked
    70. 3.70. const_wrapping_int_methods
    71. 3.71. constctlz
    72. 3.72. container_error_extra
    73. 3.73. control_flow_enum
    74. 3.74. convert_float_to_int
    75. 3.75. core_intrinsics
    76. 3.76. core_panic
    77. 3.77. core_private_bignum
    78. 3.78. core_private_diy_float
    79. 3.79. cow_is_borrowed
    80. 3.80. cstring_from_vec_with_nul
    81. 3.81. deadline_api
    82. 3.82. debug_non_exhaustive
    83. 3.83. dec2flt
    84. 3.84. default_free_fn
    85. 3.85. deque_range
    86. 3.86. derive_clone_copy
    87. 3.87. derive_eq
    88. 3.88. discriminant_kind
    89. 3.89. dispatch_from_dyn
    90. 3.90. div_duration
    91. 3.91. drain_filter
    92. 3.92. duration_constants
    93. 3.93. duration_consts_2
    94. 3.94. duration_saturating_ops
    95. 3.95. duration_zero
    96. 3.96. entry_insert
    97. 3.97. error_iter
    98. 3.98. error_type_id
    99. 3.99. exact_size_is_empty
    100. 3.100. extend_one
    101. 3.101. fd
    102. 3.102. fd_read
    103. 3.103. fixed_size_array
    104. 3.104. flt2dec
    105. 3.105. fmt_as_str
    106. 3.106. fmt_internals
    107. 3.107. fn_traits
    108. 3.108. foo
    109. 3.109. forget_unsized
    110. 3.110. format_args_nl
    111. 3.111. future_poll_fn
    112. 3.112. gen_future
    113. 3.113. generator_trait
    114. 3.114. get_mut_unchecked
    115. 3.115. global_asm
    116. 3.116. hash_drain_filter
    117. 3.117. hash_raw_entry
    118. 3.118. hash_set_entry
    119. 3.119. hashmap_internals
    120. 3.120. inplace_iteration
    121. 3.121. int_error_internals
    122. 3.122. int_error_matching
    123. 3.123. integer_atomics
    124. 3.124. internal_uninit_const
    125. 3.125. into_future
    126. 3.126. io_slice_advance
    127. 3.127. ip
    128. 3.128. is_sorted
    129. 3.129. iter_is_partitioned
    130. 3.130. iter_map_while
    131. 3.131. iter_order_by
    132. 3.132. iter_partition_in_place
    133. 3.133. iterator_fold_self
    134. 3.134. layout_for_ptr
    135. 3.135. liballoc_internals
    136. 3.136. libstd_io_internals
    137. 3.137. libstd_sys_internals
    138. 3.138. libstd_thread_internals
    139. 3.139. linked_list_cursors
    140. 3.140. linked_list_extras
    141. 3.141. linked_list_prepend
    142. 3.142. linked_list_remove
    143. 3.143. llvm_asm
    144. 3.144. log_syntax
    145. 3.145. map_entry_replace
    146. 3.146. map_first_last
    147. 3.147. map_into_keys_values
    148. 3.148. maybe_uninit_extra
    149. 3.149. maybe_uninit_ref
    150. 3.150. maybe_uninit_slice
    151. 3.151. maybe_uninit_uninit_array
    152. 3.152. new_uninit
    153. 3.153. nonnull_slice_from_raw_parts
    154. 3.154. once_cell
    155. 3.155. once_poison
    156. 3.156. option_expect_none
    157. 3.157. option_result_contains
    158. 3.158. option_unwrap_none
    159. 3.159. option_zip
    160. 3.160. or_insert_with_key
    161. 3.161. osstring_ascii
    162. 3.162. panic_abort
    163. 3.163. panic_info_message
    164. 3.164. panic_internals
    165. 3.165. panic_unwind
    166. 3.166. partition_point
    167. 3.167. pattern
    168. 3.168. peekable_next_if
    169. 3.169. poll_map
    170. 3.170. print_internals
    171. 3.171. proc_macro_def_site
    172. 3.172. proc_macro_diagnostic
    173. 3.173. proc_macro_internals
    174. 3.174. proc_macro_is_available
    175. 3.175. proc_macro_quote
    176. 3.176. proc_macro_span
    177. 3.177. proc_macro_tracked_env
    178. 3.178. process_exitcode_placeholder
    179. 3.179. process_internals
    180. 3.180. profiler_runtime_lib
    181. 3.181. ptr_as_uninit
    182. 3.182. ptr_internals
    183. 3.183. raw
    184. 3.184. raw_ref_macros
    185. 3.185. raw_vec_internals
    186. 3.186. read_initializer
    187. 3.187. ready_macro
    188. 3.188. receiver_trait
    189. 3.189. refcell_take
    190. 3.190. renamed_spin_loop
    191. 3.191. result_cloned
    192. 3.192. result_contains_err
    193. 3.193. result_copied
    194. 3.194. result_flattening
    195. 3.195. rt
    196. 3.196. seek_convenience
    197. 3.197. set_ptr_value
    198. 3.198. set_stdio
    199. 3.199. sgx_platform
    200. 3.200. shrink_to
    201. 3.201. slice_check_range
    202. 3.202. slice_concat_ext
    203. 3.203. slice_concat_trait
    204. 3.204. slice_fill
    205. 3.205. slice_index_methods
    206. 3.206. slice_internals
    207. 3.207. slice_iter_mut_as_slice
    208. 3.208. slice_partition_at_index
    209. 3.209. slice_partition_dedup
    210. 3.210. slice_ptr_get
    211. 3.211. slice_ptr_len
    212. 3.212. slice_ptr_range
    213. 3.213. slice_split_at_unchecked
    214. 3.214. slice_strip
    215. 3.215. sort_internals
    216. 3.216. split_inclusive
    217. 3.217. std_internals
    218. 3.218. stdsimd
    219. 3.219. step_trait
    220. 3.220. step_trait_ext
    221. 3.221. str_internals
    222. 3.222. str_split_once
    223. 3.223. termination_trait_lib
    224. 3.224. test
    225. 3.225. thread_id_value
    226. 3.226. thread_local_internals
    227. 3.227. thread_spawn_unchecked
    228. 3.228. toowned_clone_into
    229. 3.229. total_cmp
    230. 3.230. trace_macros
    231. 3.231. trusted_len
    232. 3.232. trusted_random_access
    233. 3.233. try_find
    234. 3.234. try_reserve
    235. 3.235. try_trait
    236. 3.236. type_name_of_val
    237. 3.237. unchecked_math
    238. 3.238. unicode_internals
    239. 3.239. unix_socket_peek
    240. 3.240. unsafe_cell_raw_get
    241. 3.241. unsigned_abs
    242. 3.242. unsize
    243. 3.243. unwrap_infallible
    244. 3.244. update_panic_count
    245. 3.245. variant_count
    246. 3.246. vec_into_raw_parts
    247. 3.247. vec_remove_item
    248. 3.248. vec_resize_default
    249. 3.249. vec_spare_capacity
    250. 3.250. wake_trait
    251. 3.251. wasi_ext
    252. 3.252. windows_by_handle
    253. 3.253. windows_c
    254. 3.254. windows_file_type_ext
    255. 3.255. windows_handle
    256. 3.256. windows_net
    257. 3.257. windows_stdio
    258. 3.258. with_options
    259. 3.259. wrapping_int_impl
    260. 3.260. wrapping_next_power_of_two
    261. 3.261. write_all_vectored

The Rust Unstable Book

Compiler flags