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() {
47
47
--env RUST_LIBC_UNSTABLE_GNU_TIME_BITS \
48
48
--env CARGO_HOME=/cargo \
49
49
--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 \
53
53
--volume " $PWD " /target:/checkout/target \
54
54
$kvm \
55
55
--init \
@@ -78,9 +78,9 @@ build_switch() {
78
78
--env LIBC_CI \
79
79
--env CARGO_HOME=/cargo \
80
80
--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 \
84
84
--volume " $( pwd) " /target:/checkout/target \
85
85
--volume ~ /.rustup:/.rustup:Z \
86
86
$kvm \
You can’t perform that action at this time.
0 commit comments