File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
branches/stable/src/doc/trpl Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: a8a49fbfc9c8433a03c67007fb4ad30672cfb483
32
+ refs/heads/stable: b6a0d9e17843a2b078e491e10f64a4005b3a7791
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
34
34
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
35
35
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e
Original file line number Diff line number Diff line change @@ -22,10 +22,12 @@ extern {}
22
22
23
23
Note that this feature is currently hidden behind the ` feature(link_args) ` gate
24
24
because this is not a sanctioned way of performing linking. Right now ` rustc `
25
- shells out to the system linker, so it makes sense to provide extra command line
25
+ shells out to the system linker (` gcc ` on most systems, ` link.exe ` on MSVC),
26
+ so it makes sense to provide extra command line
26
27
arguments, but this will not always be the case. In the future ` rustc ` may use
27
28
LLVM directly to link native libraries, in which case ` link_args ` will have no
28
- meaning.
29
+ meaning. You can achieve the same effect as the ` link-args ` attribute with the
30
+ ` -C link-args ` argument to ` rustc ` .
29
31
30
32
It is highly recommended to * not* use this attribute, and rather use the more
31
33
formal ` #[link(...)] ` attribute on ` extern ` blocks instead.
You can’t perform that action at this time.
0 commit comments