@nikomatsakis
I plan to work on this next.
After https://github.com/rust-lang/rust/pull/48917 lands I need to do some strategic refactoring in import resolution, because the current implementation of use my_crate as name;
is a hack and contains bugs preventing, for example, putting use crate as std;
into libstd prelude.
After that I’ll try to implement the fallback.
The “put everything from --extern
cmdline option into the prelude” part is almost trivial and can be implemented independently at any time, but I’m not sure it’s a good idea in general and it’s also a pure extension, so I’d rather implement it as one more option under a separate feature gate for now. (I can write mentoring instructions for this part.)