@@ -39,29 +39,29 @@ pub(crate) fn run(
39
39
docker_user_id ( & mut docker, engine. kind ) ;
40
40
41
41
docker
42
- . args ( & [ "-v" , & format ! ( "{}:/xargo:Z " , dirs. xargo. to_utf8( ) ?) ] )
43
- . args ( & [ "-v" , & format ! ( "{}:/cargo:Z " , dirs. cargo. to_utf8( ) ?) ] )
42
+ . args ( & [ "-v" , & format ! ( "{}:/xargo:z " , dirs. xargo. to_utf8( ) ?) ] )
43
+ . args ( & [ "-v" , & format ! ( "{}:/cargo:z " , dirs. cargo. to_utf8( ) ?) ] )
44
44
// Prevent `bin` from being mounted inside the Docker container.
45
45
. args ( & [ "-v" , "/cargo/bin" ] ) ;
46
46
if mount_volumes {
47
47
docker. args ( & [
48
48
"-v" ,
49
- & format ! ( "{}:{}:Z " , dirs. host_root. to_utf8( ) ?, dirs. mount_root) ,
49
+ & format ! ( "{}:{}:z " , dirs. host_root. to_utf8( ) ?, dirs. mount_root) ,
50
50
] ) ;
51
51
} else {
52
- docker. args ( & [ "-v" , & format ! ( "{}:/project:Z " , dirs. host_root. to_utf8( ) ?) ] ) ;
52
+ docker. args ( & [ "-v" , & format ! ( "{}:/project:z " , dirs. host_root. to_utf8( ) ?) ] ) ;
53
53
}
54
54
docker
55
- . args ( & [ "-v" , & format ! ( "{}:/rust:Z ,ro" , dirs. sysroot. to_utf8( ) ?) ] )
56
- . args ( & [ "-v" , & format ! ( "{}:/target:Z " , dirs. target. to_utf8( ) ?) ] ) ;
55
+ . args ( & [ "-v" , & format ! ( "{}:/rust:z ,ro" , dirs. sysroot. to_utf8( ) ?) ] )
56
+ . args ( & [ "-v" , & format ! ( "{}:/target:z " , dirs. target. to_utf8( ) ?) ] ) ;
57
57
docker_cwd ( & mut docker, & paths, mount_volumes) ?;
58
58
59
59
// When running inside NixOS or using Nix packaging we need to add the Nix
60
60
// Store to the running container so it can load the needed binaries.
61
61
if let Some ( ref nix_store) = dirs. nix_store {
62
62
docker. args ( & [
63
63
"-v" ,
64
- & format ! ( "{}:{}:Z " , nix_store. to_utf8( ) ?, nix_store. as_posix( ) ?) ,
64
+ & format ! ( "{}:{}:z " , nix_store. to_utf8( ) ?, nix_store. as_posix( ) ?) ,
65
65
] ) ;
66
66
}
67
67
0 commit comments