Commit 112d13c
committed
cargoSetupHook: fix setting crt-static
As is retrospectively obvious from the fact that it was looking at
pkgsTargetTarget, this should have been in the section for the target,
not the host. This fixes e.g. pkgsStatic.xq for 64-bit RISC-V.
(For platforms other than 64-bit RISC-V this being wrong was masked by
the musl Rust targets being static by default.)1 parent b372f5a commit 112d13c
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments