Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Dec 10, 2020
1 parent 5940c19 commit 7420776
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/rustc_codegen_ssa/src/back/link.rs
Expand Up @@ -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
Expand Down

0 comments on commit 7420776

Please sign in to comment.