rust/library/core
Matthias Krüger 2644500bff
Rollup merge of #138804 - tgross35:atomic-from-ptr-inline, r=RalfJung
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
2025-03-22 12:00:51 +01:00
..
src Rollup merge of #138804 - tgross35:atomic-from-ptr-inline, r=RalfJung 2025-03-22 12:00:51 +01:00
Cargo.toml Migrate core to Rust 2024 2025-03-11 09:46:34 -07:00