rust/compiler/rustc_codegen_ssa/src
Jubilee 2b89c1b9ae
Rollup merge of #125920 - bjorn3:allow_static_mut_linkage_def, r=Urgau
Allow static mut definitions with #[linkage]

Unlike static declarations with #[linkage], for definitions rustc doesn't rewrite it to add an extra indirection.

This was accidentally disallowed in https://github.com/rust-lang/rust/pull/125046.

cc https://github.com/rust-lang/rust/pull/125800#issuecomment-2143776298
2024-06-05 01:14:32 -07:00
..
back Auto merge of #122597 - pacak:master, r=bjorn3 2024-06-04 00:05:56 +00:00
debuginfo Align Term methods with GenericArg methods 2024-06-03 20:36:27 -04:00
mir Rollup merge of #124251 - scottmcm:unop-ptr-metadata, r=oli-obk 2024-05-29 03:25:07 +01:00
traits Rollup merge of #125148 - RalfJung:codegen-sh, r=scottmcm 2024-05-27 13:10:34 +02:00
assert_module_sources.rs Remove #[macro_use] extern crate tracing from rustc_codegen_ssa. 2024-05-23 18:02:40 +10:00
base.rs Rollup merge of #125148 - RalfJung:codegen-sh, r=scottmcm 2024-05-27 13:10:34 +02:00
codegen_attrs.rs Allow static mut definitions with #[linkage] 2024-06-03 10:45:16 +00:00
common.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
errors.rs emit an error if we can't find a path to the self-contained linker 2024-05-23 15:47:35 +00:00
lib.rs Auto merge of #122597 - pacak:master, r=bjorn3 2024-06-04 00:05:56 +00:00
meth.rs Omit non-needs_drop drop_in_place in vtables 2024-05-27 16:26:56 -04:00
mono_item.rs Remove #[macro_use] extern crate tracing from rustc_codegen_ssa. 2024-05-23 18:02:40 +10:00
size_of_val.rs Remove #[macro_use] extern crate tracing from rustc_codegen_ssa. 2024-05-23 18:02:40 +10:00
target_features.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00