Skip to content

Commit

Permalink
Remove docs on --extern metadata precedence.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Oct 16, 2019
1 parent 5e678cf commit 40282a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/doc/rustc/src/command-line-arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,8 @@ either of the following formats:
such as within the sysroot or via the `-L` flag.

The same crate name may be specified multiple times for different crate types.
For loading metadata, `rlib` takes precedence over `rmeta`, which takes
precedence over `dylib`. If both an `rlib` and `dylib` are found, an internal
algorithm is used to decide which to use for linking. The [`-C prefer-dynamic`
If both an `rlib` and `dylib` are found, an internal algorithm is used to
decide which to use for linking. The [`-C prefer-dynamic`
flag][prefer-dynamic] may be used to influence which is used.

If the same crate name is specified with and without a path, the one with the
Expand Down

0 comments on commit 40282a1

Please sign in to comment.