rustfmt
This commit is contained in:
parent
5940c19315
commit
74207767c0
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue