install all used targets into the container when provisioning #242
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When i opened https://github.com/onur/docs.rs/pull/224, i had a problem where it couldn't generate docs for all the usual targets. I poked around again, and after adding some debug printing, it turns out that the Cargo invocation fails because it can't find the
std
to link the crate against - i.e. the target hadn't been installed in rustup. After adding the target(s) to the container, they all built just fine. This PR adds the installation of the required targets into the Vagrantfile, so that when someone provisions their environment, they get all the required targets right away.