rust-lang / rust-lang/rfcs

Implement duplicate method for Stdio, File and other owned handle types

Open
#1,063 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

T-libs
Dominant language
Markdown
Stars
6.6k
Forks
1.7k
Avg merge
16h 14m
Merged PRs (30d)
1

Description

…via dup family of functions on unixes and DuplicateHandle on Windows.

Notably, this shouldn’t be generalised to Clone, because the handle/fd duplication might fail.

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

No files, tests, or entry points are named in the issue. Start by locating the owned Stdio, File, and related handle types, then inspect their Unix dup-family and Windows DuplicateHandle paths. Done means exposing duplication for these types while preserving the documented possibility of failure rather than treating it as Clone.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.