Commit af1fcb3
committed
Auto merge of #6891 - ehuss:uplift-mac-dsym-example, r=alexcrichton
Symlink dSYM on macOS example binaries.
Examples previously ended up with a layout such as:
```
target/debug/examples/ex1
target/debug/examples/ex1.d
target/debug/examples/ex1-966e505ad4696130
target/debug/examples/ex1-966e505ad4696130.d
target/debug/examples/ex1-966e505ad4696130.dSYM/…
```
If you attempt to run lldb on the executable without the hash (`target/debug/examples/ex1`), then symbols could not be found. This PR solves this by creating a symlink from `ex1.dSYM -> ex1-966e505ad4696130.dSYM`.
Closes #6889File tree
3 files changed
+28
-24
lines changed- src/cargo/core/compiler/build_context
- tests/testsuite
- support
3 files changed
+28
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
234 | 238 | | |
235 | 239 | | |
236 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4132 | 4132 | | |
4133 | 4133 | | |
4134 | 4134 | | |
| 4135 | + | |
4135 | 4136 | | |
4136 | | - | |
4137 | | - | |
4138 | | - | |
4139 | 4137 | | |
4140 | 4138 | | |
4141 | 4139 | | |
| |||
4144 | 4142 | | |
4145 | 4143 | | |
4146 | 4144 | | |
4147 | | - | |
4148 | | - | |
4149 | | - | |
4150 | | - | |
4151 | | - | |
4152 | | - | |
4153 | | - | |
4154 | | - | |
4155 | | - | |
4156 | | - | |
| 4145 | + | |
| 4146 | + | |
| 4147 | + | |
| 4148 | + | |
| 4149 | + | |
| 4150 | + | |
4157 | 4151 | | |
4158 | 4152 | | |
4159 | 4153 | | |
| 4154 | + | |
4160 | 4155 | | |
4161 | | - | |
4162 | | - | |
4163 | | - | |
4164 | 4156 | | |
4165 | 4157 | | |
4166 | 4158 | | |
| |||
4171 | 4163 | | |
4172 | 4164 | | |
4173 | 4165 | | |
4174 | | - | |
4175 | | - | |
| 4166 | + | |
| 4167 | + | |
| 4168 | + | |
| 4169 | + | |
4176 | 4170 | | |
4177 | 4171 | | |
4178 | 4172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
| |||
0 commit comments