From d1911dd075d11239e69e3cc896a5e50a1108f2f5 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Thu, 10 Dec 2020 00:18:43 -0500 Subject: [PATCH] If "aarch64-apple-darwin", copy sanitizers. --- src/bootstrap/compile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs index cdad1cb4d499..6d1ad27a67ad 100644 --- a/src/bootstrap/compile.rs +++ b/src/bootstrap/compile.rs @@ -355,7 +355,7 @@ fn copy_sanitizers( let dst = libdir.join(&runtime.name); builder.copy(&runtime.path, &dst); - if target == "x86_64-apple-darwin" { + if target == "x86_64-apple-darwin" || target == "aarch64-apple-darwin" { // Update the library install name reflect the fact it has been renamed. let status = Command::new("install_name_tool") .arg("-id")