Commit 206b5a4
committed
Use unadjusted ABI and restore intra-doc links with crate::arch::x86
Switch the llvm.x86.clflushopt extern block from "C" to "unadjusted" to
match the convention for LLVM intrinsics (movrs, kl, adx, rdrand) — the
unadjusted ABI passes the signature 1:1 with no C-ABI adjustments.
Restore the _mm_clflush/_mm_sfence/_mm_mfence intra-doc link definitions
using crate::arch::x86 (not x86_64), which resolves on all targets and
avoids the i686 rustdoc broken-intra-doc-links lint. The links are needed
because this module has no glob import to bring them into scope.1 parent 64df571 commit 206b5a4
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
0 commit comments