Commit 7a41b91
[nix] Apply binutils wrapper to Rust's ld.lld
In Rust 1.90, rustc defaults to -fuse-ld=lld, which in turn uses a
bundled-with-the-compiler ld.lld driver. That driver was not being
properly wrapped, leading to generated executables failing to find
libraries due to missing DT_RUNPATH entries. This commit modifies the
mozilla Rust overlay to wrap the ld.lld driver.
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>1 parent 805dec8 commit 7a41b91
1 file changed
+36
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
22 | 55 | | |
23 | 56 | | |
24 | 57 | | |
| |||
116 | 149 | | |
117 | 150 | | |
118 | 151 | | |
| 152 | + | |
119 | 153 | | |
120 | 154 | | |
121 | 155 | | |
| |||
0 commit comments