Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 9 pull requests #73643

Merged
merged 39 commits into from
Jun 23, 2020
Merged
Changes from 2 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
1d08b1b
Clean up E0689 explanation
GuillaumeGomez Jun 18, 2020
9245ba8
Remove the const_raw_ptr_comparison feature gate.
oli-obk Jun 12, 2020
e09b620
Add fuzzy pointer comparison intrinsics
oli-obk Jun 16, 2020
84f1d73
Tidy got confused on `rustc_const_unstable` `issue`s
oli-obk Jun 18, 2020
e75fbae
add second message for livedrop errors
pvdrz Jun 19, 2020
562f496
Account for multiple impl/dyn Trait in return type when suggesting `'_`
estebank Jun 9, 2020
0624a5a
Squashed all commits
rakshith-ravi Jun 20, 2020
9e88b48
Refer just to the issue in the raw ptr cmp diagnostic instead of expl…
oli-obk Jun 20, 2020
53686b9
Satisfy tidy
oli-obk Jun 20, 2020
98e97a4
Address review comments
oli-obk Jun 20, 2020
9355168
update tests
Jun 20, 2020
a63eb3c
Clarify --extern documentation.
adetaylor Jun 21, 2020
6374054
Fix typos in doc comments
JOE1994 Jun 21, 2020
e465b22
`icmp` can handle raw pointers just fine, there's no need to cast to …
oli-obk Jun 21, 2020
893077c
Update src/librustc_mir/monomorphize/collector.rs
JOE1994 Jun 21, 2020
b60ec47
bootstrap: no `config.toml` exists regression
davidtwco Jun 21, 2020
bcc0a9c
modify leak-check to track only outgoing edges from placeholders
nikomatsakis May 18, 2020
4199b3a
Revert "modify leak-check to track only outgoing edges from placehold…
nikomatsakis May 18, 2020
f2cf994
rewrite leak check to be based on universes
nikomatsakis May 19, 2020
5a7a850
move leak-check to during coherence, candidate eval
nikomatsakis May 20, 2020
1e00e1b
upcasting traits requires only that things become more general
nikomatsakis May 20, 2020
70cf33f
remove snapshot calls from "match" operations during select
nikomatsakis May 22, 2020
6873a76
remove leak-check from project
nikomatsakis May 22, 2020
3a68d56
remove `leak_check` from the outlives predicate evaluations
nikomatsakis May 22, 2020
be0d10f
add new tests from MCP and the tracking issue
nikomatsakis May 22, 2020
93e2982
add new coherence tests and update the documentation
nikomatsakis Jun 5, 2020
c88a76e
WIP bless test and compare-mode=nll
nikomatsakis Jun 6, 2020
6929013
fix subtle bug in NLL type checker
nikomatsakis Jun 8, 2020
d57689f
cite issue 73154
nikomatsakis Jun 8, 2020
3eb8eb9
review comments
estebank Jun 22, 2020
59e87c0
Rollup merge of #72271 - rakshith-ravi:master, r=varkor
Manishearth Jun 23, 2020
903823c
Rollup merge of #72493 - nikomatsakis:move-leak-check, r=matthewjasper
Manishearth Jun 23, 2020
ae38698
Rollup merge of #73398 - oli-obk:const_raw_ptr_cmp, r=varkor,RalfJung…
Manishearth Jun 23, 2020
98aa34c
Rollup merge of #73472 - GuillaumeGomez:cleanup-e0689, r=Dylan-DPC
Manishearth Jun 23, 2020
cd18ac1
Rollup merge of #73496 - estebank:opaque-missing-lts-in-fn-3, r=nikom…
Manishearth Jun 23, 2020
0f9a6ed
Rollup merge of #73515 - christianpoveda:livedrop-diagnostics, r=oli-obk
Manishearth Jun 23, 2020
0560151
Rollup merge of #73567 - adetaylor:extern-doc-fix, r=dtolnay
Manishearth Jun 23, 2020
84bd1e7
Rollup merge of #73572 - JOE1994:patch-4, r=jonas-schievink
Manishearth Jun 23, 2020
44900f8
Rollup merge of #73590 - davidtwco:bootstrap-fix-config-env-var, r=Ma…
Manishearth Jun 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions src/doc/rustc/src/command-line-arguments.md
Original file line number Diff line number Diff line change
@@ -273,10 +273,18 @@ This flag, when combined with other flags, makes them produce extra output.
This flag allows you to pass the name and location for an external crate of a
direct dependency. Indirect dependencies (dependencies of dependencies) are
located using the [`-L` flag](#option-l-search-path). The given crate name is
added to the [extern prelude], which is the same as specifying `extern crate`
within the root module. The given crate name does not need to match the name
added to the [extern prelude], similar to specifying `extern crate` within the
root module. The given crate name does not need to match the name
the library was built with.

Specifying `--extern` has one behavior difference from `extern crate`:
`--extern` merely makes the crate a _candidate_ for being linked; it does not
actually link it unless it's actively used. In rare occasions you may wish
to ensure a crate is linked even if you don't actively use it from your
code: for example, if it changes the global allocator or if it contains
`#[no_mangle]` symbols for use by other programming languages. In such
cases you'll need to use `extern crate`.

This flag may be specified multiple times. This flag takes an argument with
either of the following formats: