diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs index 1ff93dc3b063..db8aa60aa470 100644 --- a/src/bootstrap/compile.rs +++ b/src/bootstrap/compile.rs @@ -574,9 +574,9 @@ fn copy_sanitizers( || target == "aarch64-apple-darwin" || target == "aarch64-apple-ios" || target == "aarch64-apple-ios-sim" - || target == "aarch64-apple-ios-catalyst" + || target == "aarch64-apple-ios-macabi" || target == "x86_64-apple-ios" - || target == "x86_64-apple-ios-catalyst" + || target == "x86_64-apple-ios-macabi" { // Update the library’s install name to reflect that it has been renamed. apple_darwin_update_library_name(&dst, &format!("@rpath/{}", &runtime.name));