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'd like to keep my cargo crates pinned to a 0.3 compatible version, but keep working on later versions to shake out rustc bugs. Can cargo grow a cargo install --ref HEAD option to override any baked in revisions?
Does cargo install git://github.com/blah/blah HEAD and adding ref: "HEAD" to packages.json not add that functionality, or am I missing something? Cargo is still terribly out-dated at the moment and is still rolling-release, so I'm afraid there's not much you can do right now.
EDIT: Oh, I see. You want to add a command line option that manually details that you want the latest HEAD. No, you can't do that yet. I think it's a good idea, but it might be better to just add versions instead.
Activity
z0w0 commentedon Jul 13, 2012
Does
cargo install git://github.com/blah/blah HEAD
and addingref: "HEAD"
to packages.json not add that functionality, or am I missing something? Cargo is still terribly out-dated at the moment and is still rolling-release, so I'm afraid there's not much you can do right now.EDIT: Oh, I see. You want to add a command line option that manually details that you want the latest HEAD. No, you can't do that yet. I think it's a good idea, but it might be better to just add versions instead.
z0w0 commentedon Mar 8, 2013
Closing because Cargo is obsolete as of version 0.6. FTR rustpkg will be based around version control by default.
Auto merge of rust-lang#2897 - RalfJung:rustup, r=RalfJung
Update the rust toolchain to nightly-2023-11-27 (rust-lang#2897)