Document that the macabi sanitizers are shared with darwin · rust-lang/rust@b7e98e1 (original) (raw)

Original file line number Diff line number Diff line change
@@ -570,13 +570,14 @@ fn copy_sanitizers(
570 570 let dst = libdir.join(&runtime.name);
571 571 builder.copy(&runtime.path, &dst);
572 572
573 +// The `aarch64-apple-ios-macabi` and `x86_64-apple-ios-macabi` are also supported for
574 +// sanitizers, but they share a sanitizer runtime with `${arch}-apple-darwin`, so we do
575 +// not list them here to rename and sign the runtime library.
573 576 if target == "x86_64-apple-darwin"
574 577 |
575 578 |
576 579 |
577 - |
578 580 |
579 - |
580 581 {
581 582 // Update the library’s install name to reflect that it has been renamed.
582 583 apple_darwin_update_library_name(&dst, &format!("@rpath/{}", &runtime.name));