Commit fe12d38
authored
Try to fix x86_64-apple-darwin release builds (#12245)
This is an attempt to address #12217 which applies a similar workaround
found in #11960 to this naked function as well. Effectively it looks
like `#[unsafe(naked)]` is buggy to the point that the user of the
function symbol must be `#[inline(never)]` and in the same module,
otherwise it won't work correctly.
Closes #122171 parent ecd1cb3 commit fe12d38
2 files changed
Lines changed: 6 additions & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | 16 | | |
12 | 17 | | |
| |||
0 commit comments