This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 6a46160
authored
Unrolled build for rust-lang#138804
Rollup merge of rust-lang#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]: rust-lang/compiler-builtins#790 (comment)1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| 472 | + | |
472 | 473 | | |
473 | 474 | | |
474 | 475 | | |
| |||
1389 | 1390 | | |
1390 | 1391 | | |
1391 | 1392 | | |
| 1393 | + | |
1392 | 1394 | | |
1393 | 1395 | | |
1394 | 1396 | | |
| |||
2525 | 2527 | | |
2526 | 2528 | | |
2527 | 2529 | | |
| 2530 | + | |
2528 | 2531 | | |
2529 | 2532 | | |
2530 | 2533 | | |
| |||
0 commit comments