os-rust/compiler/rustc_codegen_ssa
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
..
src Rollup merge of #125920 - bjorn3:allow_static_mut_linkage_def, r=Urgau 2024-06-05 01:14:32 -07:00
Cargo.toml Make SSA aggregates without needing an alloca 2024-05-08 20:38:04 -07:00
messages.ftl emit an error if we can't find a path to the self-contained linker 2024-05-23 15:47:35 +00:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.