Remove the alt_std_name option
This option introduced in #15820 allows a custom crate to be imported in the place of std, but with the name std. I don't think there is any value to this. At most it is confusing users of a driver that uses this option. There are no users of this option on github. If anyone still needs it, they can emulate it injecting #![no_core] in addition to their own prelude.
This commit is contained in:
parent
78450d2d60
commit
55ceed81fe
4 changed files with 2 additions and 10 deletions
|
@ -184,10 +184,6 @@ top_level_options!(
|
|||
externs: Externs [UNTRACKED],
|
||||
extern_dep_specs: ExternDepSpecs [UNTRACKED],
|
||||
crate_name: Option<String> [TRACKED],
|
||||
/// An optional name to use as the crate for std during std injection,
|
||||
/// written `extern crate name as std`. Defaults to `std`. Used by
|
||||
/// out-of-tree drivers.
|
||||
alt_std_name: Option<String> [TRACKED],
|
||||
/// Indicates how the compiler should treat unstable features.
|
||||
unstable_features: UnstableFeatures [TRACKED],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue