Skip to content

Commit 617f07e

Browse files
committed
Link to section that lists abi chapters
1 parent 3833ecc commit 617f07e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/abi.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ r[abi.compatibility.fn-ptr]
5959
An `fn`-ptr type `T` is compatible with an `fn`-ptr type `U` if `T` and `U` have *abi compatible* tags.
6060

6161
r[abi.compatibility.extern-tag]
62-
Two abi tags are *abi compatible* if:
62+
Two [abi tags][abi] are *abi compatible* if:
6363
* They are the same string, or
6464
* One tag is `"X"`, and the other is `"X-unwind"`
6565

6666
r[abi.compatibility.signature]
6767
Two function signatures are compatible if:
68-
* The abi tags of both signatures are *abi compatible*,
68+
* The [abi tags][abi] of both signatures are *abi compatible*,
6969
* They have the same number of parameters, excluding C-varargs,
7070
* Each parameter of both signatures, in order, are *abi compatible*, and
7171
* Either both signatures have C-varargs, or neither signature does.
@@ -246,6 +246,7 @@ pub static VAR1: u32 = 1;
246246
[attribute]: attributes.md
247247
[extern functions]: items/functions.md#extern-function-qualifier
248248
[`extern` block]: items/external-blocks.md
249+
[abi]: items/external-blocks.md#abi
249250
[function]: items/functions.md
250251
[item]: items.md
251252
[static]: items/static-items.md

0 commit comments

Comments
 (0)