From 684c4574c09a6f2cc5a208e4505e9306602b4abc Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Mon, 29 May 2017 14:07:12 -0700 Subject: Update libc crate to 0.2.23 The 'libc' create got a couple of updates. This change imports the new code and bumps the version to use. Import subrepo libc/:libc at 7db3fd570dfb41a38fb17116e93679307178103a --- libc/ci/run-docker.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libc/ci/run-docker.sh') diff --git a/libc/ci/run-docker.sh b/libc/ci/run-docker.sh index 1ac419a..e963078 100644 --- a/libc/ci/run-docker.sh +++ b/libc/ci/run-docker.sh @@ -8,10 +8,14 @@ run() { # use -f so we can use ci/ as build context docker build -t libc -f ci/docker/$1/Dockerfile ci/ mkdir -p target + if [ -w /dev/kvm ]; then + kvm="--volume /dev/kvm:/dev/kvm" + fi docker run \ --user `id -u`:`id -g` \ --rm \ --volume $HOME/.cargo:/cargo \ + $kvm \ --env CARGO_HOME=/cargo \ --volume `rustc --print sysroot`:/rust:ro \ --volume `pwd`:/checkout:ro \ @@ -19,8 +23,6 @@ run() { --env CARGO_TARGET_DIR=/checkout/target \ --workdir /checkout \ --privileged \ - --interactive \ - --tty \ libc \ ci/run.sh $1 } -- cgit v1.2.1