Skip to content

macros: Merge f! and safe_f! - #5357

Merged
tgross35 merged 2 commits into
rust-lang:mainfrom
tgross35:merge-function-macros
Aug 3, 2026
Merged

macros: Merge f! and safe_f!#5357
tgross35 merged 2 commits into
rust-lang:mainfrom
tgross35:merge-function-macros

Conversation

@tgross35

@tgross35 tgross35 commented Aug 3, 2026

Copy link
Copy Markdown
Member

Now that we have separate safe and unsafe syntax, there isn't much
reason to keep the macros split.

@rustbot

rustbot commented Aug 3, 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

Some changes occurred in a NetBSD-like module

cc @semarie

Some changes occurred in an OpenBSD module

cc @semarie

Now that we have separate `safe` and `unsafe` syntax, there isn't much
reason to keep the macros split.

Moving some functions around was necessary for the style checker.
@tgross35
tgross35 force-pushed the merge-function-macros branch from 52aad9e to 5f2bb63 Compare August 3, 2026 00:54
@tgross35
tgross35 enabled auto-merge August 3, 2026 01:02
@tgross35
tgross35 added this pull request to the merge queue Aug 3, 2026
Merged via the queue into rust-lang:main with commit 4ef1831 Aug 3, 2026
57 checks passed
@tgross35
tgross35 deleted the merge-function-macros branch August 3, 2026 01:24
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Aug 31, 2026
@tgross35 tgross35 mentioned this pull request Aug 31, 2026
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Aug 31, 2026
tgross35 added a commit to dybucc/libc that referenced this pull request Aug 31, 2026
tgross35 added a commit to dybucc/libc that referenced this pull request Aug 31, 2026
Now that we have separate `safe` and `unsafe` syntax, there isn't much
reason to keep the macros split.

Moving some functions around was necessary for the style checker.

(backport <rust-lang#5357>)
(cherry picked from commit 4ef1831)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants