Add support for nounused
--extern flag
This adds `nounused` to the set of extern flags: `--extern nounused:core=/path/to/core/libcore.rlib`. The effect of this flag is to suppress `unused-crate-dependencies` warnings relating to the crate.
This commit is contained in:
parent
b21759f550
commit
9102edf208
6 changed files with 38 additions and 1 deletions
|
@ -66,6 +66,7 @@ where
|
|||
location: ExternLocation::ExactPaths(locations),
|
||||
is_private_dep: false,
|
||||
add_prelude: true,
|
||||
nounused_dep: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue