rust-lang / rust-lang/libc

Provide a `wint_t` type alias for more targets

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

Nobody has claimed this yet.

C-API-request
Dominant language
Rust
Stars
2.6k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
69

Description

From the wchar.h C standard header.

It's currently implemented only for TEEOS & Hurd. It'd be nice to also have it for at least tier 1 targets.

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 comparing the existing wint_t definitions in src/teeos/mod.rs and src/unix/hurd/mod.rs. Then inspect the platform modules for tier 1 targets and the surrounding type aliases to determine where the definitions belong. Done means the alias is available for the intended targets and the relevant target checks pass.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.