summaryrefslogtreecommitdiffstats
path: root/testing/docker/rust-build/package_rust.sh
blob: 743aec2fbdde0343ac563970bfbf5f7b016bbcd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash -vex

set -x -e

: WORKSPACE ${WORKSPACE:=/home/worker}

set -v

# Package the toolchain for upload.
pushd ${WORKSPACE}
tar cvJf rustc.tar.xz rustc/*
/build/tooltool.py add --visibility=public --unpack rustc.tar.xz
popd