Skip to content

Commit 7420776

Browse files
committed
rustfmt
1 parent 5940c19 commit 7420776

File tree

1 file changed

+1
-2
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+1
-2
lines changed

compiler/rustc_codegen_ssa/src/back/link.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -819,8 +819,7 @@ fn link_sanitizer_runtime(sess: &Session, linker: &mut dyn Linker, name: &str) {
819819
.unwrap_or_default();
820820

821821
match sess.opts.target_triple.triple() {
822-
"aarch64-apple-darwin"
823-
| "x86_64-apple-darwin" => {
822+
"aarch64-apple-darwin" | "x86_64-apple-darwin" => {
824823
// On Apple platforms, the sanitizer is always built as a dylib, and
825824
// LLVM will link to `@rpath/*.dylib`, so we need to specify an
826825
// rpath to the library as well (the rpath should be absolute, see

0 commit comments

Comments
 (0)