-
Notifications
You must be signed in to change notification settings - Fork 24
V2 manifests #33
V2 manifests #33
Conversation
Untabifying made the diff big. Here's one that starts from after untabifying: rust-lang/rustup@3c96043...next |
I think that |
r=me, although as usual wasn't necessarily heavily scrutinized, I trust this plus the level of tests though, so I'm pretty confident it'll work out! |
Supposing you clone and then checkout branch next, and then try to use muslrust for a static build for a run-anywhere capability with: ./rustup.sh --with-target musl --prefix=./muslrust you get: error: can't find crate for How do I compile a hello world with musl rust if these steps don't work? |
This teaches rustup.sh to read V2 manifests, adds the
--with-target
flag, which is used during the initial install to pull down additional standard libraries, the--add-target
flag, which adds a target to an existing installation, and the--list-available-targets
flag, which lists the targets available to an already-installed rust.This has only been unit tested on Linux, Windows and Mac, not tested live, so don't merge yet.
I'll be happy to squash if this history is too ugly.
r? @alexcrichton cc @edunham