1. The Unstable Book
  2. 1. Compiler flags
    1. 1.1. branch_protection
    2. 1.2. cf_protection
    3. 1.3. codegen_backend
    4. 1.4. codegen_options
    5. 1.5. control_flow_guard
    6. 1.6. coverage_options
    7. 1.7. debug_info_for_profiling
    8. 1.8. default_hidden_visibility
    9. 1.9. direct_access_external_data
    10. 1.10. dump_mono_stats
    11. 1.11. dump_mono_stats_format
    12. 1.12. dwarf_version
    13. 1.13. dylib_lto
    14. 1.14. emit_stack_sizes
    15. 1.15. env_set
    16. 1.16. export_executable_symbols
    17. 1.17. extern_options
    18. 1.18. external_clangrt
    19. 1.19. fixed_x18
    20. 1.20. function_return
    21. 1.21. instrument_xray
    22. 1.22. link_native_libraries
    23. 1.23. linker_features
    24. 1.24. llvm_module_flag
    25. 1.25. location_detail
    26. 1.26. move_size_limit
    27. 1.27. no_jump_tables
    28. 1.28. no_parallel_llvm
    29. 1.29. no_unique_section_names
    30. 1.30. on_broken_pipe
    31. 1.31. print_check_cfg
    32. 1.32. profile
    33. 1.33. profile_sample_use
    34. 1.34. remap_cwd_prefix
    35. 1.35. remap_path_scope
    36. 1.36. report_time
    37. 1.37. sanitizer
    38. 1.38. self_profile
    39. 1.39. self_profile_events
    40. 1.40. shell_argfiles
    41. 1.41. src_hash_algorithm
    42. 1.42. temps_dir
    43. 1.43. tiny_const_eval_limit
    44. 1.44. tls_model
    45. 1.45. ub_checks
    46. 1.46. unsound_mir_opts
    47. 1.47. virtual_function_elimination
    48. 1.48. wasm_c_abi
  3. 2. Language features
    1. 2.1. aarch64_ver_target_feature
    2. 2.2. abi_avr_interrupt
    3. 2.3. abi_c_cmse_nonsecure_call
    4. 2.4. abi_msp430_interrupt
    5. 2.5. abi_ptx
    6. 2.6. abi_riscv_interrupt
    7. 2.7. abi_unadjusted
    8. 2.8. abi_vectorcall
    9. 2.9. abi_x86_interrupt
    10. 2.10. adt_const_params
    11. 2.11. alloc_error_handler
    12. 2.12. allocator_internals
    13. 2.13. allow_internal_unsafe
    14. 2.14. allow_internal_unstable
    15. 2.15. anonymous_lifetime_in_impl_trait
    16. 2.16. arbitrary_self_types
    17. 2.17. arm_target_feature
    18. 2.18. asm_const
    19. 2.19. asm_experimental_arch
    20. 2.20. asm_goto
    21. 2.21. asm_unwind
    22. 2.22. associated_const_equality
    23. 2.23. associated_type_defaults
    24. 2.24. async_closure
    25. 2.25. async_fn_track_caller
    26. 2.26. async_for_loop
    27. 2.27. auto_traits
    28. 2.28. avx512_target_feature
    29. 2.29. box_patterns
    30. 2.30. bpf_target_feature
    31. 2.31. builtin_syntax
    32. 2.32. c_unwind
    33. 2.33. c_variadic
    34. 2.34. cfg_overflow_checks
    35. 2.35. cfg_relocation_model
    36. 2.36. cfg_sanitize
    37. 2.37. cfg_sanitizer_cfi
    38. 2.38. cfg_target_compact
    39. 2.39. cfg_target_has_atomic
    40. 2.40. cfg_target_has_atomic_equal_alignment
    41. 2.41. cfg_target_thread_local
    42. 2.42. cfg_ub_checks
    43. 2.43. cfg_version
    44. 2.44. cfi_encoding
    45. 2.45. closure_lifetime_binder
    46. 2.46. closure_track_caller
    47. 2.47. cmse_nonsecure_entry
    48. 2.48. compiler_builtins
    49. 2.49. const_async_blocks
    50. 2.50. const_closures
    51. 2.51. const_extern_fn
    52. 2.52. const_fn_floating_point_arithmetic
    53. 2.53. const_for
    54. 2.54. const_mut_refs
    55. 2.55. const_precise_live_drops
    56. 2.56. const_refs_to_cell
    57. 2.57. const_refs_to_static
    58. 2.58. const_trait_impl
    59. 2.59. const_try
    60. 2.60. coroutine_clone
    61. 2.61. coroutines
    62. 2.62. coverage_attribute
    63. 2.63. csky_target_feature
    64. 2.64. custom_inner_attributes
    65. 2.65. custom_mir
    66. 2.66. custom_test_frameworks
    67. 2.67. decl_macro
    68. 2.68. default_type_parameter_fallback
    69. 2.69. deprecated_safe
    70. 2.70. deprecated_suggestion
    71. 2.71. deref_patterns
    72. 2.72. do_not_recommend
    73. 2.73. doc_auto_cfg
    74. 2.74. doc_cfg
    75. 2.75. doc_cfg_hide
    76. 2.76. doc_masked
    77. 2.77. doc_notable_trait
    78. 2.78. dropck_eyepatch
    79. 2.79. dyn_star
    80. 2.80. effects
    81. 2.81. ermsb_target_feature
    82. 2.82. exhaustive_patterns
    83. 2.83. explicit_tail_calls
    84. 2.84. expr_fragment_specifier_2024
    85. 2.85. extended_varargs_abi_support
    86. 2.86. extern_types
    87. 2.87. f128
    88. 2.88. f16
    89. 2.89. ffi_const
    90. 2.90. ffi_pure
    91. 2.91. fn_align
    92. 2.92. fn_delegation
    93. 2.93. freeze_impls
    94. 2.94. fundamental
    95. 2.95. gen_blocks
    96. 2.96. generic_arg_infer
    97. 2.97. generic_assert
    98. 2.98. generic_associated_types_extended
    99. 2.99. generic_const_exprs
    100. 2.100. generic_const_items
    101. 2.101. global_registration
    102. 2.102. half_open_range_patterns_in_slices
    103. 2.103. hexagon_target_feature
    104. 2.104. if_let_guard
    105. 2.105. impl_trait_in_assoc_type
    106. 2.106. impl_trait_in_fn_trait_return
    107. 2.107. inherent_associated_types
    108. 2.108. inline_const_pat
    109. 2.109. intra_doc_pointers
    110. 2.110. intrinsics
    111. 2.111. lahfsahf_target_feature
    112. 2.112. lang_items
    113. 2.113. large_assignments
    114. 2.114. lazy_type_alias
    115. 2.115. let_chains
    116. 2.116. lifetime_capture_rules_2024
    117. 2.117. link_arg_attribute
    118. 2.118. link_cfg
    119. 2.119. link_llvm_intrinsics
    120. 2.120. linkage
    121. 2.121. lint_reasons
    122. 2.122. loongarch_target_feature
    123. 2.123. macro_metavar_expr
    124. 2.124. marker_trait_attr
    125. 2.125. min_exhaustive_patterns
    126. 2.126. min_specialization
    127. 2.127. mips_target_feature
    128. 2.128. more_qualified_paths
    129. 2.129. multiple_supertrait_upcastable
    130. 2.130. must_not_suspend
    131. 2.131. mut_ref
    132. 2.132. naked_functions
    133. 2.133. native_link_modifiers_as_needed
    134. 2.134. needs_panic_runtime
    135. 2.135. negative_bounds
    136. 2.136. negative_impls
    137. 2.137. never_patterns
    138. 2.138. never_type
    139. 2.139. never_type_fallback
    140. 2.140. no_core
    141. 2.141. no_sanitize
    142. 2.142. non_exhaustive_omitted_patterns_lint
    143. 2.143. non_lifetime_binders
    144. 2.144. object_safe_for_dispatch
    145. 2.145. offset_of_enum
    146. 2.146. offset_of_nested
    147. 2.147. omit_gdb_pretty_printer_section
    148. 2.148. optimize_attribute
    149. 2.149. panic_runtime
    150. 2.150. pattern_complexity
    151. 2.151. pattern_types
    152. 2.152. postfix_match
    153. 2.153. powerpc_target_feature
    154. 2.154. precise_capturing
    155. 2.155. prelude_import
    156. 2.156. prfchw_target_feature
    157. 2.157. proc_macro_hygiene
    158. 2.158. profiler_runtime
    159. 2.159. raw_ref_op
    160. 2.160. ref_pat_eat_one_layer_2024
    161. 2.161. register_tool
    162. 2.162. repr_simd
    163. 2.163. repr128
    164. 2.164. result_ffi_guarantees
    165. 2.165. return_type_notation
    166. 2.166. riscv_target_feature
    167. 2.167. rtm_target_feature
    168. 2.168. rust_cold_cc
    169. 2.169. rustc_allow_const_fn_unstable
    170. 2.170. rustc_attrs
    171. 2.171. rustc_private
    172. 2.172. rustdoc_internals
    173. 2.173. rustdoc_missing_doc_code_examples
    174. 2.174. simd_ffi
    175. 2.175. specialization
    176. 2.176. sse4a_target_feature
    177. 2.177. staged_api
    178. 2.178. start
    179. 2.179. stmt_expr_attributes
    180. 2.180. strict_provenance
    181. 2.181. string_deref_patterns
    182. 2.182. structural_match
    183. 2.183. target_feature_11
    184. 2.184. tbm_target_feature
    185. 2.185. test_unstable_lint
    186. 2.186. thread_local
    187. 2.187. trait_alias
    188. 2.188. trait_upcasting
    189. 2.189. transmute_generic_consts
    190. 2.190. transparent_unions
    191. 2.191. trivial_bounds
    192. 2.192. try_blocks
    193. 2.193. type_alias_impl_trait
    194. 2.194. type_ascription
    195. 2.195. type_changing_struct_update
    196. 2.196. unboxed_closures
    197. 2.197. unnamed_fields
    198. 2.198. unsafe_attributes
    199. 2.199. unsafe_extern_blocks
    200. 2.200. unsized_fn_params
    201. 2.201. unsized_locals
    202. 2.202. unsized_tuple_coercion
    203. 2.203. used_with_arg
    204. 2.204. wasm_abi
    205. 2.205. wasm_target_feature
    206. 2.206. with_negative_coherence
    207. 2.207. yeet_expr
  4. 3. Library Features

The Rust Unstable Book

Compiler flags