Commit 39ad103
committed
Auto merge of #10600 - tmfink:doc-build-script-link-order, r=ehuss
doc: discuss build script instruction order
### What does this PR try to resolve?
It is currently not documented that the order of build script `cargo:` instructions may be relevant to linking.
This has caused issues such as: rust-lang/rust#96328
### How should we test and review this PR?
Build/view documentation.
### Additional information
- Cargo maintainers should fact check my wording.
- We may need to discuss if this should also be documented for `rustc`
- Maintainers should ensure that this change does not prevent a change in what is currently unspecified behavior. Perhaps `cargo` will want to rearrange link arguments itself to resolve issues in the future?File tree
2 files changed
+13
-1
lines changed- src/doc/src/reference
- tests/testsuite
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
80 | 89 | | |
81 | 90 | | |
82 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1789 | 1789 | | |
1790 | 1790 | | |
1791 | 1791 | | |
| 1792 | + | |
| 1793 | + | |
1792 | 1794 | | |
1793 | 1795 | | |
1794 | 1796 | | |
1795 | 1797 | | |
| 1798 | + | |
1796 | 1799 | | |
1797 | 1800 | | |
1798 | 1801 | | |
1799 | 1802 | | |
1800 | 1803 | | |
1801 | 1804 | | |
1802 | 1805 | | |
1803 | | - | |
| 1806 | + | |
1804 | 1807 | | |
1805 | 1808 | | |
1806 | 1809 | | |
| |||
0 commit comments