Rust-GCC / Rust-GCC/gccrs

Implement `ExtractIf`/`extract_if` feature

Open
#4,835 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

rust-for-linux typechecking
Dominant language
C++
Stars
2.9k
Forks
231
Avg merge
19h 55m
Merged PRs (30d)
67

Description

We need to be able to handle the nightly extract_if feature for Rust-for-Linux, as it makes use of it

https://doc.rust-lang.org/nightly/std/vec/struct.ExtractIf.html

One difficulty will be once again to "fake" this feature as it is not present in core 1.49. I'm not sure how we're going to inject an entire module into the compiler so we need to figure that out as well.

I don't think there is that much code that we can't handle so that should be okay

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 nightly Rust ExtractIf documentation and reviewing how gccrs handles features absent from core 1.49. Determine how the ExtractIf/extract_if module can be made available to Rust-for-Linux, then verify that the feature is accepted and usable despite the older core version.

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
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.