Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove bad command line arguments from the Mac Linker with Rust
When linker plugin LTO is enabled on Apple, rustc passes invalid command line arguments to the linker. They are valid elsewhere but not known by the Apple linker. Fortunately, on Apple we have a python script that is used to invoke the linker. So we drop them from the command line in linker_driver.py for now. Upstream issue: rust-lang/rust#60059 R=hans@chromium.org Bug: 1446796 Change-Id: Idc051457cff194616ac9b0063e3fd255fdd261cc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4659997 Reviewed-by: Adrian Taylor <adetaylor@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Reviewed-by: Hans Wennborg <hans@chromium.org> Cr-Commit-Position: refs/heads/main@{#1164710}
- Loading branch information