Commit 2b9c774
committed
Stop propagating link arguments across crates
This is a fairly brittle modle that doesn't scale well across many crates. It's
unlikely that all of the downstream crates will have all of the original native
dependencies of all the upstream crates. In the case that FFI functions are
reachable, then it should be the responsibility of the downstream crate to link
against the correct library, or the upstream crate should prevent the functions
from being reachable.1 parent c15038d commit 2b9c774
File tree
4 files changed
+1
-47
lines changed- src/librustc
- back
- metadata
4 files changed
+1
-47
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | | - | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
1054 | 1046 | | |
1055 | 1047 | | |
1056 | 1048 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | 264 | | |
272 | 265 | | |
273 | 266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
1459 | | - | |
1460 | | - | |
1461 | | - | |
1462 | | - | |
1463 | | - | |
1464 | | - | |
1465 | | - | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | 1459 | | |
1470 | 1460 | | |
1471 | 1461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
1610 | 1609 | | |
1611 | 1610 | | |
1612 | 1611 | | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | | - | |
1617 | | - | |
1618 | | - | |
1619 | | - | |
1620 | | - | |
1621 | | - | |
1622 | | - | |
1623 | | - | |
1624 | | - | |
1625 | | - | |
1626 | 1612 | | |
1627 | 1613 | | |
1628 | 1614 | | |
| |||
1740 | 1726 | | |
1741 | 1727 | | |
1742 | 1728 | | |
1743 | | - | |
1744 | 1729 | | |
1745 | 1730 | | |
1746 | 1731 | | |
| |||
1797 | 1782 | | |
1798 | 1783 | | |
1799 | 1784 | | |
1800 | | - | |
1801 | | - | |
1802 | | - | |
1803 | | - | |
1804 | | - | |
1805 | 1785 | | |
1806 | 1786 | | |
1807 | 1787 | | |
| |||
1838 | 1818 | | |
1839 | 1819 | | |
1840 | 1820 | | |
1841 | | - | |
1842 | 1821 | | |
1843 | 1822 | | |
1844 | 1823 | | |
| |||
0 commit comments