about summary refs log tree commit diff
path: root/tests/codegen-llvm/cross-crate-inlining/leaf-inlining.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-26 06:36:30 +0200
committerGitHub <noreply@github.com>2025-09-26 06:36:30 +0200
commit82e9e54ef3aee4f12682c461a099f86084c429dc (patch)
treef11047bc04b1abd2724da4f17cef089220293950 /tests/codegen-llvm/cross-crate-inlining/leaf-inlining.rs
parentb733736ea2feb7798c99cbb9a769bce74be108df (diff)
parent0374df1b50d227f173c07631b390b271efb04ae6 (diff)
downloadrust-82e9e54ef3aee4f12682c461a099f86084c429dc.tar.gz
rust-82e9e54ef3aee4f12682c461a099f86084c429dc.zip
Rollup merge of #146283 - LorrensP-2158466:resolve-cm-cell, r=petrochenkov
Resolve: (Ref)Cell wrappers to deny mutation during spec resolution.

Introduces wrappers around `Cell` and `RefCell` that only allow mutation when we are not in speculative resolution. This is preparatory work for rust-lang/rust#145108.

It would allow us to make `ImportData` and `ModuleData` sync and send safe.

r? ``@petrochenkov``
Diffstat (limited to 'tests/codegen-llvm/cross-crate-inlining/leaf-inlining.rs')
0 files changed, 0 insertions, 0 deletions