Commit 6b8b88f
Fixes for advanced_unstable_linking
Summary:
A few fixes in order to make advanced_unstable_linking work, a few fixes were needed to handle compiling + linking rust code.
1. Make sure hollow rlibs are always generated for metadata-full emits.
2. Make sure that the targets themselves are added as dependencies when using advanced_unstable_linking.
3. Apply a workaround for version scripts related to latest clang + building dylibs.
Reviewed By: diliop
Differential Revision: D58169850
fbshipit-source-id: 15b675b3ae35ea0b00c279f47e4c9a701e990eb61 parent 5d65670 commit 6b8b88f
2 files changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
438 | 448 | | |
439 | 449 | | |
440 | 450 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| |||
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| 347 | + | |
346 | 348 | | |
347 | 349 | | |
348 | 350 | | |
| |||
389 | 391 | | |
390 | 392 | | |
391 | 393 | | |
392 | | - | |
393 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
394 | 401 | | |
| 402 | + | |
395 | 403 | | |
396 | 404 | | |
397 | 405 | | |
| |||
0 commit comments