Skip to content

Commit 903ae1f

Browse files
authored
Merge pull request #242 from QuietMisdreavus/vagrant-targets
install all used targets into the container when provisioning
2 parents 6d633d9 + f0c422f commit 903ae1f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Vagrantfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ Vagrant.configure("2") do |config|
4949
lxc-attach -n cratesfyi-container -- apt-get install -y --no-install-recommends curl ca-certificates binutils gcc libc6-dev libmagic1
5050
lxc-attach -n cratesfyi-container -- su - cratesfyi -c 'curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2018-10-20'
5151
52+
############################################################
53+
# Installing extra targets into cratesfyi-container #
54+
############################################################
55+
lxc-attach -n cratesfyi-container -- su - cratesfyi -c 'rustup target add x86_64-apple-darwin'
56+
lxc-attach -n cratesfyi-container -- su - cratesfyi -c 'rustup target add x86_64-pc-windows-msvc'
57+
5258
############################################################
5359
# Creating rustc links for cratesfyi user #
5460
############################################################

0 commit comments

Comments
 (0)