Skip to content

Commit 03dfe89

Browse files
committed
Fix a typo
Add musl link
1 parent b2cc47f commit 03dfe89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/trpl/advanced-linking.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ shells out to the system linker (`gcc` on most systems, `link.exe` on MSVC),
2626
so it makes sense to provide extra command line
2727
arguments, but this will not always be the case. In the future `rustc` may use
2828
LLVM directly to link native libraries, in which case `link_args` will have no
29-
meaning. You can achieve the same effect as the `link-args` attribute with the
29+
meaning. You can achieve the same effect as the `link_args` attribute with the
3030
`-C link-args` argument to `rustc`.
3131

3232
It is highly recommended to *not* use this attribute, and rather use the more
@@ -71,7 +71,7 @@ Dynamic linking on Linux can be undesirable if you wish to use new library
7171
features on old systems or target systems which do not have the required
7272
dependencies for your program to run.
7373

74-
Static linking is supported via an alternative `libc`, `musl`. You can compile
74+
Static linking is supported via an alternative `libc`, [`musl`](http://www.musl-libc.org). You can compile
7575
your own version of Rust with `musl` enabled and install it into a custom
7676
directory with the instructions below:
7777

0 commit comments

Comments
 (0)