rust-lang / rust-lang/reference

Clarify C++ unwinding relationship

Open
#1,745 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-panic
Dominant language
Rust
Stars
1.6k
Forks
607
PR merge metrics
PR metrics pending

Description

https://github.com/rust-lang/reference/pull/1226 includes some mentions of unwinding in relation to how C++ frames unwind. I think that could use some clarification or rewording, since AFAIK C++ itself does not define the exact unwinding ABI, but I believe it is more like Rust tries to be compatible with the target platform's particular implementations.

See https://github.com/rust-lang/reference/pull/1226#discussion_r1909630509

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.

Research direction

Start with rust-lang/reference pull request 1226 and the linked discussion comment about C++ frame unwinding. Review the mentions of unwinding in relation to C++ frames and clarify the wording so it distinguishes C++'s language definition from target-platform unwinding implementations.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.