Skip to content

Conversation

tgross35
Copy link
Contributor

Our style.sh script can't handle these easily, and it seems like ctest may struggle with this macro. Add the enum keyword so the expanded code is valid Rust.

@tgross35 tgross35 force-pushed the macro-add-keyword branch from e6b379a to be17138 Compare June 16, 2025 08:44
@tgross35 tgross35 enabled auto-merge June 16, 2025 09:01
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Jun 16, 2025
Our `style.sh` script can't handle these easily, and it seems like
`ctest` may struggle with this macro. Add the `enum` keyword so the
expanded code is valid Rust.
@tgross35 tgross35 force-pushed the macro-add-keyword branch from be17138 to 19e04c8 Compare June 17, 2025 10:26
@tgross35 tgross35 added this pull request to the merge queue Jun 17, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 17, 2025
@tgross35 tgross35 added this pull request to the merge queue Jun 17, 2025
Merged via the queue into rust-lang:main with commit 9d520fb Jun 17, 2025
49 of 51 checks passed
@tgross35 tgross35 deleted the macro-add-keyword branch June 17, 2025 16:30
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Jul 29, 2025
Our `style.sh` script can't handle these easily, and it seems like
`ctest` may struggle with this macro. Add the `enum` keyword so the
expanded code is valid Rust.

(backport <rust-lang#4494>)
(cherry picked from commit 19e04c8)
@tgross35 tgross35 mentioned this pull request Jul 29, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jul 29, 2025
Our `style.sh` script can't handle these easily, and it seems like
`ctest` may struggle with this macro. Add the `enum` keyword so the
expanded code is valid Rust.

(backport <#4494>)
(cherry picked from commit 19e04c8)
@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 Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-linux O-unix S-waiting-on-review stable-applied This PR has been cherry-picked to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants