]> git.lizzy.rs Git - rust.git/commit
Remove the alt_std_name option
authorbjorn3 <bjorn3@users.noreply.github.com>
Fri, 14 Jan 2022 13:25:52 +0000 (14:25 +0100)
committerbjorn3 <bjorn3@users.noreply.github.com>
Fri, 11 Feb 2022 19:28:38 +0000 (20:28 +0100)
commit55ceed81fe68bf09293176cd2c16fbb90aab0531
tree4fc7484399104737d80fd170b4ebac5d47405d09
parent78450d2d602b06d9b94349aaf8cece1a4acaf3a8
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.
compiler/rustc_builtin_macros/src/standard_library_imports.rs
compiler/rustc_interface/src/passes.rs
compiler/rustc_session/src/config.rs
compiler/rustc_session/src/options.rs