diff options
| author | bors <bors@rust-lang.org> | 2021-05-08 00:37:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-05-08 00:37:38 +0000 |
| commit | abf3ec5b3353be973b18269fcdda76a59743f235 (patch) | |
| tree | 6109eee77b56b95c58cf55d7fb353aab1674189d /compiler/rustc_codegen_ssa/src | |
| parent | 467253ff6a2aecd008d273286315ac14ff8ad937 (diff) | |
| parent | 885231768b0315a618e037396a17a13d4b1f25f9 (diff) | |
| download | rust-abf3ec5b3353be973b18269fcdda76a59743f235.tar.gz rust-abf3ec5b3353be973b18269fcdda76a59743f235.zip | |
Auto merge of #85057 - Dylan-DPC:rollup-efaseq2, r=Dylan-DPC
Rollup of 6 pull requests Successful merges: - #76808 (Improve diagnostics for functions in `struct` definitions) - #84887 (Remove SpanInterner::get) - #85034 (fix null pointer error messages) - #85038 (Don't stop running rustdoc-gui tests at first failure) - #85044 (Use `path.exists()` instead of `fs::metadata(path).is_ok()`) - #85052 (rustdoc: Link to the docs on namespaces when an unknown disambiguator is found) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/linker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/linker.rs b/compiler/rustc_codegen_ssa/src/back/linker.rs index 929bdf22755..cb3c98354c8 100644 --- a/compiler/rustc_codegen_ssa/src/back/linker.rs +++ b/compiler/rustc_codegen_ssa/src/back/linker.rs @@ -772,7 +772,7 @@ impl<'a> Linker for MsvcLinker<'a> { // check to see if the file is there and just omit linking to it if it's // not present. let name = format!("{}.dll.lib", lib); - if fs::metadata(&path.join(&name)).is_ok() { + if path.join(&name).exists() { self.cmd.arg(name); } } |
