Skip to content

freebsd: annotate unstable RAND_MAX#5119

Open
dybucc wants to merge 1 commit into
rust-lang:mainfrom
dybucc:rand-max-deprecation
Open

freebsd: annotate unstable RAND_MAX#5119
dybucc wants to merge 1 commit into
rust-lang:mainfrom
dybucc:rand-max-deprecation

Conversation

@dybucc

@dybucc dybucc commented May 28, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds documentation. It annotates one symbol. This symbol has changed recently. It needs usage advice. It's a numerical limit. It should not need annotating. FreeBSD has changed it recently.

Sources

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget); especially relevant for platforms that may not be checked in CI

@rustbot label +stable-nominated

@rustbot

This comment has been minimized.

@dybucc dybucc force-pushed the rand-max-deprecation branch 2 times, most recently from ddee909 to c0316ee Compare June 4, 2026 07:08
@rustbot

This comment has been minimized.

dybucc added a commit to dybucc/libc that referenced this pull request Jun 8, 2026
This is a follow up to rust-lang#5119. In this instance, the deprecated symbol
has been removed to target the 1.0 release, and the SemVer-tracking
plain text files have been updated.
@dybucc dybucc mentioned this pull request Jun 8, 2026
3 tasks
dybucc added a commit to dybucc/libc that referenced this pull request Jun 8, 2026
This is a follow up to rust-lang#5119. In this instance, the deprecated symbol
has been removed to target the 1.0 release, and the SemVer-tracking
plain text files have been updated.
dybucc added a commit to dybucc/libc that referenced this pull request Jun 9, 2026
This is a follow up to rust-lang#5119. In this instance, the deprecated symbol
has been removed to target the 1.0 release, and the SemVer-tracking
plain text files have been updated.
@dybucc dybucc force-pushed the rand-max-deprecation branch from c0316ee to 10b10e8 Compare June 9, 2026 07:12
@rustbot

This comment has been minimized.

@dybucc

dybucc commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

CI actually passes. There seems to be an issue with a glob import that is not used, but this has not
been changed in the patch (it's not even part of it, for that matter.) For some reason, rebasing
onto main with dependabot updates has ended up with a warning across all of my open PRs due to
that one (now apparently unused) import.

@rustbot rustbot added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Jun 9, 2026
dybucc added a commit to dybucc/libc that referenced this pull request Jun 15, 2026
This is a follow up to rust-lang#5119. In this instance, the deprecated symbol
has been removed to target the 1.0 release, and the SemVer-tracking
plain text files have been updated.
@dybucc dybucc force-pushed the rand-max-deprecation branch from 10b10e8 to 3b4385c Compare June 15, 2026 15:28
@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@tgross35

Copy link
Copy Markdown
Contributor

For updating doc comments like the others, @rustbot author

@rustbot

rustbot commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rustbot

This comment has been minimized.

@dybucc dybucc force-pushed the rand-max-deprecation branch from 86e3d3b to e374f99 Compare June 19, 2026 10:00
@rustbot

This comment has been minimized.

@dybucc dybucc force-pushed the rand-max-deprecation branch from e374f99 to 11a4d4a Compare June 19, 2026 10:10
@rustbot

This comment has been minimized.

@dybucc dybucc force-pushed the rand-max-deprecation branch from 11a4d4a to e2e673c Compare June 23, 2026 07:42
@rustbot

rustbot commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

This symbol has changed recently. It needs usage advice. This patch
links to that.
@dybucc dybucc force-pushed the rand-max-deprecation branch from e2e673c to d5e0a56 Compare June 23, 2026 07:43
@dybucc

dybucc commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

@tgross35 The PR has been updated.

@rustbot ready

@dybucc dybucc changed the title refactor: deprecate RAND_MAX constant in FreeBSD freebsd: annotate unstable RAND_MAX Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants