rust-lang / rust-lang/rustc_codegen_gcc
Build the sysroot correctly with regards to panic
Open
@GuillaumeGomez is already working on this.
Since May 16, 2025.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 105
- Avg merge
- 8h 20m
- Merged PRs (30d)
- 14
Description
We need to build the crate panic-abort with -Cpanic=abort when we build the sysroot so that the user can choose between panic=abort and panic=unwind.
Some UI tests fail because of this and it seems that some run-make tests fail as well.
Not sure how this should be done, though. Perhaps with x.py, but I wonder if there is a way that would be faster, not needing to clone the Rust repo.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.