Commit b715cc7
committed
Add missing rustc binaries to rustc_lib filegroup
Adds `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 declared in the filegroup.
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 access to unlisted files in the same directory.1 parent a3bb997 commit b715cc7
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
0 commit comments