bazelbuild / bazelbuild/rules_rust
Add pdb file to output group when target_os is "uefi"
- Dominant language
- Starlark
- Stars
- 843
- Forks
- 651
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 15
Description
When building uefi target with aarch64-unknown-uefi/x86_64-unknown-uefi, the compiler can also generate a PDB file. But because target_os is "uefi" in this case, the file is not added to the output group (currently only "windows" is supported https://github.com/bazelbuild/rules_rust/blob/main/rust/private/rustc.bzl#L1380).
Contributor guide
Research direction
Start in rust/private/rustc.bzl around line 1380, where the output group currently handles target_os "windows". Check how the uefi targets produce PDB files and update the output-group handling so those files are included for target_os "uefi". Done means builds for aarch64-unknown-uefi and x86_64-unknown-uefi expose the generated PDB in the output group.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 76/100