rust-lang / rust-lang/rust

std::os::wasi::fs::OpenOptionsExt should be a sealed trait

Open
#139,543 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-filesystem C-bug F-wasi_ext O-wasi T-libs
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

We already have DirEntryExt2, we don't want to need to create any more *Ext2 traits in the future.

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 at std::os::wasi::fs::OpenOptionsExt and compare it with DirEntryExt2. Determine how the trait should be sealed so future extension traits are unnecessary, then verify the standard-library API and relevant tests cover the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.