This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 8513554
committed
Allow inlining for
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)
(cherry picked from commit eb2a2f8)Atomic*::from_ptr
1 parent 12bef9c commit 8513554
1 file changed
Lines changed: 3 additions & 0 deletions
| 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