rust-lang / rust-lang/rustc_codegen_cranelift

Support unwinding on panics

Open
#1,567 5 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-unwind C-enhancement S-blocked
Dominant language
Rust
Stars
2.1k
Forks
157
Avg merge
1d 19h
Merged PRs (30d)
3

Description

Cranelift doesn't yet support unwinding: https://github.com/bytecodealliance/wasmtime/issues/1677

Contributor guide

No contributing guide indexed for this repository

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 by reading the linked Wasmtime issue #1677, then investigate how this Cranelift-based rustc backend currently handles panics. Done means adding support for unwinding on panics, with the relevant behavior validated by the project's existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.