Skip to content

Commit

Permalink
Rollup merge of #125920 - bjorn3:allow_static_mut_linkage_def, r=Urgau
Browse files Browse the repository at this point in the history
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 rust-lang/rust#125046.

cc rust-lang/rust#125800 (comment)
  • Loading branch information
workingjubilee authored Jun 5, 2024
2 parents 50f504b + 03d1fb0 commit 3b7a6c3
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 3b7a6c3

Please sign in to comment.