Skip to content

Commit 2d2ff6f

Browse files
committed
Rename 'link-args' to 'advanced-linking', add intro
1 parent d7e4d63 commit 2d2ff6f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/doc/trpl/SUMMARY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
* [No stdlib](no-stdlib.md)
6464
* [Intrinsics](intrinsics.md)
6565
* [Lang items](lang-items.md)
66-
* [Link args](link-args.md)
66+
* [Advanced linking](advanced-linking.md)
6767
* [Benchmark Tests](benchmark-tests.md)
6868
* [Box Syntax and Patterns](box-syntax-and-patterns.md)
6969
* [Slice Patterns](slice-patterns.md)

src/doc/trpl/link-args.md renamed to src/doc/trpl/advanced-linking.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
% Link args
1+
% Advanced Linking
2+
3+
The common cases of linking with Rust have been covered earlier in this book,
4+
but supporting the range of linking possibilities made available by other
5+
languages is important for Rust to achieve seamless interaction with native
6+
libraries.
7+
8+
# Link args
29

310
There is one other way to tell rustc how to customize linking, and that is via
411
the `link_args` attribute. This attribute is applied to `extern` blocks and

0 commit comments

Comments
 (0)