File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ run() {
4747 --env RUST_LIBC_UNSTABLE_GNU_TIME_BITS \
4848 --env CARGO_HOME=/cargo \
4949 --env CARGO_TARGET_DIR=/checkout/target \
50- --volume " $CARGO_HOME " :/cargo \
51- --volume " $( rustc --print sysroot) " :/rust:ro \
52- --volume " $PWD " :/checkout:ro \
50+ --volume " $CARGO_HOME " :/cargo:Z \
51+ --volume " $( rustc --print sysroot) " :/rust:ro,Z \
52+ --volume " $PWD " :/checkout:ro,Z \
5353 --volume " $PWD " /target:/checkout/target \
5454 $kvm \
5555 --init \
@@ -78,9 +78,9 @@ build_switch() {
7878 --env LIBC_CI \
7979 --env CARGO_HOME=/cargo \
8080 --env CARGO_TARGET_DIR=/checkout/target \
81- --volume " $CARGO_HOME " :/cargo \
82- --volume " $( rustc --print sysroot) " :/rust:ro \
83- --volume " $( pwd) " :/checkout:ro \
81+ --volume " $CARGO_HOME " :/cargo:Z \
82+ --volume " $( rustc --print sysroot) " :/rust:ro,Z \
83+ --volume " $( pwd) " :/checkout:ro,Z \
8484 --volume " $( pwd) " /target:/checkout/target \
8585 --volume ~ /.rustup:/.rustup:Z \
8686 $kvm \
You can’t perform that action at this time.
0 commit comments