You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in favour. It seems like this might be something good to do for 1.0, since hitting errors about them can be quite confusing (especially without reasons, cc #25211).
Status update: this still isn't done. We do have some errors on the rustc_private feature saying "please use the crate from crates.io", which is helpful.
@rust-lang/compiler is this something we ever intend to do?
You hit this when you use rustc directly without cargo, as cargo will disambiguate using the --extern flag for you. Doing it as a non-cargo user is a pain, however, since --extern takes the filename, and if the filename contains a hash created by cargo which changes at the drop of a hat, it's just a big pain to even construct the correct --extern argument.
I'd be in favor of doing this rename, I think. It seems odd to have the same crates in two places. But maybe @alexcrichton has plans to just move us over to the crates.io crates eventually or something?
Yes for any relevant crates I'd like to move to using the crates.io versions, but I don't think we'll ever get around to moving everything out of tree, just support libs and such.
I personally think this isn't really something we can/want to do anymore today, we depend on dozens of crates.io crates and place those in the sysroot today. Error messages on attempted use aren't great but that's an orthogonal issue.
Activity
emberian commentedon Apr 27, 2015
I think we should rename:
libc
num
rand
log
rbml
term
syntax
serialize
graphviz
getopts
flate
arena
alloc
huonw commentedon May 8, 2015
I'm in favour. It seems like this might be something good to do for 1.0, since hitting errors about them can be quite confusing (especially without
reason
s, cc #25211).steveklabnik commentedon May 10, 2015
I'm 👍 to this, and backporting to 1.0
SiegeLord commentedon Aug 31, 2015
This hasn't been done, and still results in bad user experience. Can this still be fixed post 1.0?
steveklabnik commentedon Feb 7, 2017
Status update: this still isn't done. We do have some errors on the
rustc_private
feature saying "please use the crate from crates.io", which is helpful.@rust-lang/compiler is this something we ever intend to do?
SiegeLord commentedon Feb 8, 2017
The errors I hit happen way before that is hit. Here's an example error:
You hit this when you use rustc directly without cargo, as cargo will disambiguate using the
--extern
flag for you. Doing it as a non-cargo user is a pain, however, since--extern
takes the filename, and if the filename contains a hash created by cargo which changes at the drop of a hat, it's just a big pain to even construct the correct--extern
argument.nikomatsakis commentedon Feb 22, 2017
I'd be in favor of doing this rename, I think. It seems odd to have the same crates in two places. But maybe @alexcrichton has plans to just move us over to the crates.io crates eventually or something?
steveklabnik commentedon Feb 22, 2017
I think so, or at least, I'd be a big 👍 there
alexcrichton commentedon Feb 23, 2017
Yes for any relevant crates I'd like to move to using the crates.io versions, but I don't think we'll ever get around to moving everything out of tree, just support libs and such.
steveklabnik commentedon Sep 15, 2017
Update: we can now use crates.io crates, but not all crates that are on crates.io have been updated to those versions.
cyplo commentedon Apr 20, 2018
Heya ! Hope you're having a beautiful day !
Any updates on this one ?
serde
rust-lang/rust-clippy#4015Mark-Simulacrum commentedon Aug 31, 2019
I personally think this isn't really something we can/want to do anymore today, we depend on dozens of crates.io crates and place those in the sysroot today. Error messages on attempted use aren't great but that's an orthogonal issue.