about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-03-21 20:51:06 +0000
committerTrevor Gross <tmgross@umich.edu>2025-03-21 20:51:06 +0000
commiteb2a2f86bb7b018afaabb1b42d55086470780bfa (patch)
tree3dcafb1cb25f2e9f5c756e752bb03045edb77ecb /compiler/rustc_codegen_llvm/src/llvm_util.rs
parenta4a11aca5ecf24dfff3c00715641026809951305 (diff)
downloadrust-eb2a2f86bb7b018afaabb1b42d55086470780bfa.tar.gz
rust-eb2a2f86bb7b018afaabb1b42d55086470780bfa.zip
Allow inlining for `Atomic*::from_ptr`
Currently this cannot be inlined, which among other things means it
can't be used in `compiler-builtins` [1]. These are trivial functions
that should be inlineable, so add `#[inline]`.

[1]: https://github.com/rust-lang/compiler-builtins/pull/790#issuecomment-2744371738
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions