rust-lang / rust-lang/rustc_codegen_gcc

Build the sysroot correctly with regards to panic

Open
#479 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.