rust/compiler/rustc_codegen_ssa/src
bors 4e5fec2f1e Auto merge of #134757 - RalfJung:const_swap, r=scottmcm
stabilize const_swap

libs-api FCP passed in https://github.com/rust-lang/rust/issues/83163.

However, I only just realized that this actually involves an intrinsic. The intrinsic could be implemented entirely with existing stable const functionality, but we choose to make it a primitive to be able to detect more UB. So nominating for `@rust-lang/lang`  to make sure they are aware; I leave it up to them whether they want to FCP this.

While at it I also renamed the intrinsic to make the "nonoverlapping" constraint more clear.

Fixes #83163
2024-12-30 23:46:42 +00:00
..
back review fixes: Adjust whitespace 2024-12-29 21:27:19 +01:00
debuginfo Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
mir rename typed_swap → typed_swap_nonoverlapping 2024-12-25 10:53:03 +01:00
traits rename typed_swap → typed_swap_nonoverlapping 2024-12-25 10:53:03 +01:00
assert_module_sources.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
base.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
codegen_attrs.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
common.rs Test fixing raw-dylib 2024-09-24 10:10:31 -07:00
errors.rs don't show the full linker args unless --verbose is passed 2024-12-14 20:38:46 -05:00
lib.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
meth.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
mono_item.rs codegen #[naked] functions using global_asm! 2024-12-10 21:41:03 +01:00
size_of_val.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
target_features.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00