Skip to content

Commit f0c422f

Browse files
install mac and windows targets into container when provisioning
1 parent 32102ce commit f0c422f

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-06-03'
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)