Add missing rustc binaries to rustc_lib filegroup (#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>This repository provides rules for building Rust projects with Bazel.
The fastest way to try this in an empty project is to click the green “Use this template” button on https://github.com/bazel-starters/rust.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.
Please refer to the full documentation.