rust-lang / rust-lang/libc

Remove `getentropy` on iOS/tvOS/watchOS/visionOS?

Open
#5,409 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

This is marked available everywhere in the sys/random.h header, but the header only exists on the macOS SDK.

I've filed FB23000895 with Apple, let's wait to hear back from them before we remove it from libc.

Split out from https://github.com/rust-lang/libc/pull/5158.

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 checking the status of Apple report FB23000895, then inspect the libc bindings for getentropy and the availability represented by sys/random.h. Done means resolving whether the iOS-family declarations should remain and applying the corresponding libc change.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, rust
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.