Tracking Issue --extern
crate modifiers · Issue #98405 · rust-lang/rust (original) (raw)
This is a tracking issue for command line option syntax currently used by several modifiers affecting behavior of extern crates.
Specific tracking issues for those modifiers:
- Tracking issue for --extern priv #98399
- Tracking issue for --extern noprelude #98398
- Tracking issue for --extern nounused #98400
- Tracking Issue for --extern force #111302
The currently used syntax is
--extern [MODIFIERS:]NAME[=PATH]
Before stabilization it should likely be harmonized with command line syntax already used for native library modifiers, see item (3) in #93901 (comment).
- Modifiers can be converted to
+/-
formpriv
-+priv
or-pub
noprelude
--prelude
nounused
-+used
- Position of the
MODIFIERS
component in the option can also be changed.