Rust-GCC / Rust-GCC/gccrs

Lang item `drop` is not implemented.

Open
#2,955 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

HIR
Dominant language
C++
Stars
2.9k
Forks
231
Avg merge
19h 55m
Merged PRs (30d)
67

Description

#[lang = "drop"]
pub trait Drop {
    fn drop(&mut self);
}

https://github.com/Rust-GCC/gccrs/commit/611d0bdc55a858736bd5cfabfc1ed4fef800d81a

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 by reading the linked commit and locating the gccrs handling for Rust language items, then trace how the drop item is recognized. The work is done when the shown Drop trait is implemented and the compiler accepts and handles it consistently with the language-item behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.