rust-lang / rust-lang/libc

time.h functions not available on Windows

Open
#1,245 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

time, localtime, etc. are only available on Unix even though Windows has them.

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 locating the Rust libc bindings for time, localtime, and related functions, then compare how their Unix and Windows availability is represented. Confirm the intended Windows declarations and verify that these functions become available on Windows without changing their Unix behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.