Rollup merge of #28882 - ykomatsu:trpl, r=steveklabnik
This commit is contained in:
commit
4c8a0c0578
|
@ -26,7 +26,7 @@ shells out to the system linker (`gcc` on most systems, `link.exe` on MSVC),
|
||||||
so it makes sense to provide extra command line
|
so it makes sense to provide extra command line
|
||||||
arguments, but this will not always be the case. In the future `rustc` may use
|
arguments, but this will not always be the case. In the future `rustc` may use
|
||||||
LLVM directly to link native libraries, in which case `link_args` will have no
|
LLVM directly to link native libraries, in which case `link_args` will have no
|
||||||
meaning. You can achieve the same effect as the `link-args` attribute with the
|
meaning. You can achieve the same effect as the `link_args` attribute with the
|
||||||
`-C link-args` argument to `rustc`.
|
`-C link-args` argument to `rustc`.
|
||||||
|
|
||||||
It is highly recommended to *not* use this attribute, and rather use the more
|
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
|
||||||
features on old systems or target systems which do not have the required
|
features on old systems or target systems which do not have the required
|
||||||
dependencies for your program to run.
|
dependencies for your program to run.
|
||||||
|
|
||||||
Static linking is supported via an alternative `libc`, `musl`. You can compile
|
Static linking is supported via an alternative `libc`, [`musl`](http://www.musl-libc.org). You can compile
|
||||||
your own version of Rust with `musl` enabled and install it into a custom
|
your own version of Rust with `musl` enabled and install it into a custom
|
||||||
directory with the instructions below:
|
directory with the instructions below:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue