Commit f300247
committed
Use
For <#138212>.
Looks like LLVM 20's initial `llvm-objcopy` version that we
ship as `rust-objcopy` may be producing stripped iOS binaries with
invalid offsets that fail iOS platform consistency checks.
For the time being, use macOS system strip at `/usr/bin/strip` which
should be available (unlike Linux -> macOS cross where this is not
guaranteed to be available, partially why we are shipping `llvm-objcopy`
in the first place) that shouldn't have this offset problem./usr/bin/strip on macOS -> iOS cross as a temporary workaround1 parent dea1661 commit f300247
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1046 | 1046 | | |
1047 | 1047 | | |
1048 | 1048 | | |
1049 | | - | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
1050 | 1059 | | |
1051 | 1060 | | |
1052 | 1061 | | |
| |||
0 commit comments