about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2020-12-10 00:18:30 -0500
committerCorey Farwell <coreyf@rwell.org>2020-12-10 00:18:30 -0500
commit74207767c0fb0ad3d5df8be95f1b750d5c2c0d84 (patch)
treec775d91e05758fb5fc76da56e78de994eb63a6ad /compiler/rustc_codegen_ssa
parent5940c193159a40fc9ebecc0de1482ba3d0a7a2dc (diff)
downloadrust-74207767c0fb0ad3d5df8be95f1b750d5c2c0d84.tar.gz
rust-74207767c0fb0ad3d5df8be95f1b750d5c2c0d84.zip
rustfmt
Diffstat (limited to 'compiler/rustc_codegen_ssa')
-rw-r--r--compiler/rustc_codegen_ssa/src/back/link.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs
index 0f4408a8fc6..46febf049c3 100644
--- a/compiler/rustc_codegen_ssa/src/back/link.rs
+++ b/compiler/rustc_codegen_ssa/src/back/link.rs
@@ -819,8 +819,7 @@ fn link_sanitizer_runtime(sess: &Session, linker: &mut dyn Linker, name: &str) {
         .unwrap_or_default();
 
     match sess.opts.target_triple.triple() {
-        "aarch64-apple-darwin"
-        | "x86_64-apple-darwin" => {
+        "aarch64-apple-darwin" | "x86_64-apple-darwin" => {
             // On Apple platforms, the sanitizer is always built as a dylib, and
             // LLVM will link to `@rpath/*.dylib`, so we need to specify an
             // rpath to the library as well (the rpath should be absolute, see