Commit 6281d27
Add missing rustc binaries to rustc_lib filegroup (bazelbuild#3727)
## Summary
Add `rust-objcopy` and `wasm-component-ld` to the `rustc_lib` filegroup
in `repository_utils.bzl`. These binaries are present in recent rustc
distributions (wasm-component-ld since 1.82.0, rust-objcopy since
1.84.0) but were not previously declared.
### Changes
- **Binary Declaration**: Add `rust-objcopy{binary_ext}` and
`wasm-component-ld{binary_ext}` to the rustc_lib filegroup glob patterns
### Context
On Windows, Bazel copies files into the sandbox rather than symlinking,
so only explicitly listed files are available. This caused wasm32-wasip2
builds to fail with `linker 'wasm-component-ld.exe' not found`.
On Linux/macOS, the issue was masked by symlink-based sandboxing which
allowed rustc to access unlisted files in the same directory.
---------
Co-authored-by: UebelAndre <github@uebelandre.com>1 parent 791842f commit 6281d27
3 files changed
Lines changed: 64 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
94 | 105 | | |
95 | 106 | | |
96 | 107 | | |
97 | 108 | | |
98 | 109 | | |
| 110 | + | |
99 | 111 | | |
100 | 112 | | |
101 | 113 | | |
| |||
117 | 129 | | |
118 | 130 | | |
119 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
120 | 140 | | |
121 | 141 | | |
122 | 142 | | |
| |||
325 | 345 | | |
326 | 346 | | |
327 | 347 | | |
| 348 | + | |
328 | 349 | | |
329 | 350 | | |
330 | 351 | | |
| |||
362 | 383 | | |
363 | 384 | | |
364 | 385 | | |
| 386 | + | |
365 | 387 | | |
366 | 388 | | |
367 | 389 | | |
| |||
382 | 404 | | |
383 | 405 | | |
384 | 406 | | |
| 407 | + | |
385 | 408 | | |
386 | 409 | | |
387 | 410 | | |
| |||
419 | 442 | | |
420 | 443 | | |
421 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
422 | 449 | | |
423 | 450 | | |
424 | 451 | | |
| |||
436 | 463 | | |
437 | 464 | | |
438 | 465 | | |
| 466 | + | |
439 | 467 | | |
440 | 468 | | |
441 | 469 | | |
| |||
520 | 548 | | |
521 | 549 | | |
522 | 550 | | |
523 | | - | |
| 551 | + | |
524 | 552 | | |
525 | 553 | | |
526 | 554 | | |
| |||
529 | 557 | | |
530 | 558 | | |
531 | 559 | | |
| 560 | + | |
532 | 561 | | |
533 | 562 | | |
534 | 563 | | |
| |||
544 | 573 | | |
545 | 574 | | |
546 | 575 | | |
547 | | - | |
| 576 | + | |
548 | 577 | | |
549 | 578 | | |
550 | 579 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
437 | 450 | | |
438 | 451 | | |
439 | 452 | | |
| |||
450 | 463 | | |
451 | 464 | | |
452 | 465 | | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
453 | 469 | | |
454 | 470 | | |
455 | 471 | | |
456 | 472 | | |
457 | 473 | | |
458 | 474 | | |
| 475 | + | |
459 | 476 | | |
460 | 477 | | |
461 | 478 | | |
| |||
534 | 551 | | |
535 | 552 | | |
536 | 553 | | |
| 554 | + | |
537 | 555 | | |
538 | 556 | | |
539 | 557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
287 | 291 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
292 | 295 | | |
293 | 296 | | |
294 | 297 | | |
| |||
585 | 588 | | |
586 | 589 | | |
587 | 590 | | |
| 591 | + | |
588 | 592 | | |
589 | 593 | | |
590 | 594 | | |
| |||
780 | 784 | | |
781 | 785 | | |
782 | 786 | | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
783 | 792 | | |
784 | 793 | | |
785 | 794 | | |
| |||
0 commit comments