Skip to content

Commit 072bc97

Browse files
committed
---
yaml --- r: 235775 b: refs/heads/stable c: e5c1884 h: refs/heads/master i: 235773: 6c48a29 235771: 10bf81b 235767: c85983e 235759: e3e483e 235743: f504a50 235711: ebfa0a7 235647: 701de42 235519: a8b5df3 v: v3
1 parent e545059 commit 072bc97

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: e6c058e18c7a63e831a98b41d0d9df0e0c4901b4
32+
refs/heads/stable: e5c1884c26cf41a338e903ec60f58bdad49af886
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/doc/reference.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,6 +1636,10 @@ The type of a function declared in an extern block is `extern "abi" fn(A1, ...,
16361636
An) -> R`, where `A1...An` are the declared types of its arguments and `R` is
16371637
the declared return type.
16381638

1639+
It is valid to add the `link` attribute on an empty extern block. You can use
1640+
this to satisfy the linking requirements of extern blocks elsewhere in your code
1641+
(including upstream crates) instead of adding the attribute to each extern block.
1642+
16391643
## Visibility and Privacy
16401644

16411645
These two terms are often used interchangeably, and what they are attempting to

0 commit comments

Comments
 (0)