Skip to content

unix: annotate unstable *COUNT constants#5121

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

unix: annotate unstable *COUNT constants#5121
dybucc wants to merge 1 commit into
rust-lang:mainfrom
dybucc:_count-deprecation

Conversation

@dybucc

@dybucc dybucc commented May 28, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds documentation. It links to usage advice. Some symbols need this. They can change between upstream releases. They are not considered SemVer-breaking.

I have some doubts. They are concerned with the GNU Hurd. The DLFO_STRUCT_HAS_EH_COUNT constant was not found. It has not suffered any changes.

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

rustbot commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred in an Android module

cc @maurer

Some changes occurred in a solarish module

cc @jclulow, @pfmooney

@dybucc dybucc force-pushed the _count-deprecation branch from d36f780 to 70cd6ca Compare May 29, 2026 06:51
@dybucc dybucc changed the title refactor: deprecate *COUNT consts fitting rust-lang/libc#3131 refactor: deprecate *COUNT consts fitting rust-lang/libc#3131 May 29, 2026
@dybucc dybucc changed the title refactor: deprecate *COUNT consts fitting rust-lang/libc#3131 refactor: deprecate *COUNT consts fitting #3131 May 29, 2026
@dybucc dybucc force-pushed the _count-deprecation branch 2 times, most recently from b2e7f52 to 1b7a551 Compare June 4, 2026 07:08
@rustbot

This comment has been minimized.

@dybucc

dybucc commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

CI is failing for reasons unrelated to the changes introduced in this patch. A rerun should do it.

dybucc added a commit to dybucc/libc that referenced this pull request Jun 8, 2026
This patch is a follow up from rust-lang#5121. That PR deprecated the symbols for
a stable release, while this patch ensures the symbols are altogether
removed.

See the accompanying PR for more details.
dybucc added a commit to dybucc/libc that referenced this pull request Jun 8, 2026
This patch is a follow up from rust-lang#5121. That PR deprecated the symbols for
a stable release, while this patch ensures the symbols are altogether
removed.

See the accompanying PR for more details.
dybucc added a commit to dybucc/libc that referenced this pull request Jun 8, 2026
This patch is a follow up from rust-lang#5121. That PR deprecated the symbols for
a stable release, while this patch ensures the symbols are altogether
removed.

See the accompanying PR for more details.
dybucc added a commit to dybucc/libc that referenced this pull request Jun 9, 2026
This patch is a follow up from rust-lang#5121. That PR deprecated the symbols for
a stable release, while this patch ensures the symbols are altogether
removed.

See the accompanying PR for more details.
@dybucc dybucc force-pushed the _count-deprecation branch from 1b7a551 to 2580f8d 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 patch is a follow up from rust-lang#5121. That PR deprecated the symbols for
a stable release, while this patch ensures the symbols are altogether
removed.

See the accompanying PR for more details.
@dybucc dybucc force-pushed the _count-deprecation branch from 2580f8d to 2ca368a Compare June 15, 2026 15:24
@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.

@dybucc dybucc force-pushed the _count-deprecation branch from 209065b to 0debe88 Compare June 23, 2026 07:13
@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.

These caused SemVer issues. They can change in upstream releases. This
patch aleviates that. It links to usage advice.
@dybucc dybucc force-pushed the _count-deprecation branch from aa9d097 to 07fba21 Compare June 23, 2026 07:17
@dybucc dybucc changed the title refactor: deprecate *COUNT consts fitting #3131 unix: annotate unstable *COUNT constants Jun 23, 2026
@dybucc

dybucc commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

@tgross35 The PR is updated. The description has changed. It should be clearer now.

@rustbot ready

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