Skip to content

Commit 8818871

Browse files
committed
Auto merge of rust-lang#129469 - jieyouxu:exp-msvc-ci, r=<try>
[Experimental] what if we use symlink_metadata r? ghost Follow up to information revealed in rust-lang#129431. The cargo branch contains a change: ```diff diff --git a/crates/cargo-util/src/paths.rs b/crates/cargo-util/src/paths.rs index 59e812f3aea..d2f023da3ce 100644 --- a/crates/cargo-util/src/paths.rs +++ b/crates/cargo-util/src/paths.rs `@@` -571,7 +571,9 `@@` where } fn set_not_readonly(p: &Path) -> io::Result<bool> { - let mut perms = p.metadata()?.permissions(); + // Note that `p` is possibly a symlink. What if this is + // `symlink_metadata`? + let mut perms = p.symlink_metadata()?.permissions(); if !perms.readonly() { return Ok(false); } ``` try-job: x86_64-msvc-ext
2 parents c8b14ba + cc60817 commit 8818871

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.gitmodules

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
shallow = true
55
[submodule "src/tools/cargo"]
66
path = src/tools/cargo
7-
url = https://github.com/rust-lang/cargo.git
7+
url = https://github.com/jieyouxu/cargo.git
8+
branch = exp-msvc-ci-cargo
89
shallow = true
910
[submodule "src/doc/reference"]
1011
path = src/doc/reference

0 commit comments

Comments
 (0)