Commit 1630d1f
autocargo/thrift: add support for rust_extra_srcs to fix mononoke OSS cargo build
Summary:
Add support for rust_extra_srcs to autocargo and rust shed thrift wrapper. Copy extra sources to the cargo thrift build location so that the include!() can find them
Mononoke started using them in D63977688, which is causing [github CI Cargo based builds to fail](https://github.com/facebook/sapling/actions/runs/11329919951/job/31506538796) with `error[E0583]: file not found for module 'extra_thrift'`
Mononoke cargo build was also broken on missing scs_errors and scs_methods crate used from async_requests, hence the autocargo mapping update to include it in following diff D64541433
Reviewed By: andreacampi
Differential Revision: D64541434
fbshipit-source-id: 118508175e4168b15e4c99dd63a6eaa34ac10c5e1 parent 3b6a64b commit 1630d1f
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| |||
165 | 167 | | |
166 | 168 | | |
167 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
168 | 177 | | |
169 | 178 | | |
170 | 179 | | |
| |||
200 | 209 | | |
201 | 210 | | |
202 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
203 | 221 | | |
204 | 222 | | |
205 | 223 | | |
| |||
0 commit comments