Skip to content

Conversation

tgross35
Copy link
Contributor

This originally existed for MSRV support, then became a necessary hack to support the old ctest's inability to parse const fn. The new ctest doesn't have this limitation, so remove the config.

@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Sep 23, 2025
@tgross35 tgross35 force-pushed the no-const-extern-fn-feature branch from 49b1b89 to 036535f Compare September 23, 2025 03:32
This originally existed for MSRV support, then became a necessary hack
to support the old ctest's inability to parse `const fn`. The new ctest
doesn't have this limitation, so remove the config.

Additionally, switch from the `*` kleene to `?` since that is possible
now.
@tgross35 tgross35 force-pushed the no-const-extern-fn-feature branch from 036535f to b94f6ba Compare September 23, 2025 03:33
@tgross35 tgross35 enabled auto-merge September 23, 2025 03:33
@tgross35 tgross35 added this pull request to the merge queue Sep 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 23, 2025
@tgross35 tgross35 added this pull request to the merge queue Sep 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 23, 2025
@tgross35 tgross35 added this pull request to the merge queue Sep 23, 2025
Merged via the queue into rust-lang:main with commit 4894081 Sep 23, 2025
75 of 100 checks passed
@tgross35 tgross35 deleted the no-const-extern-fn-feature branch September 23, 2025 05:44
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Sep 23, 2025
This originally existed for MSRV support, then became a necessary hack
to support the old ctest's inability to parse `const fn`. The new ctest
doesn't have this limitation, so remove the config.

Additionally, switch from the `*` kleene to `?` since that is possible
now.

(backport <rust-lang#4712>)
(cherry picked from commit 4894081)
@tgross35 tgross35 mentioned this pull request Sep 23, 2025
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Sep 23, 2025
This originally existed for MSRV support, then became a necessary hack
to support the old ctest's inability to parse `const fn`. The new ctest
doesn't have this limitation, so remove the config.

Additionally, switch from the `*` kleene to `?` since that is possible
now.

(backport <rust-lang#4712>)
(cherry picked from commit 4894081)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Sep 23, 2025
This originally existed for MSRV support, then became a necessary hack
to support the old ctest's inability to parse `const fn`. The new ctest
doesn't have this limitation, so remove the config.

Additionally, switch from the `*` kleene to `?` since that is possible
now.

(backport <rust-lang#4712>)
(cherry picked from commit 4894081)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Sep 23, 2025
This originally existed for MSRV support, then became a necessary hack
to support the old ctest's inability to parse `const fn`. The new ctest
doesn't have this limitation, so remove the config.

Additionally, switch from the `*` kleene to `?` since that is possible
now.

(backport <rust-lang#4712>)
(cherry picked from commit 4894081)
github-merge-queue bot pushed a commit that referenced this pull request Sep 23, 2025
This originally existed for MSRV support, then became a necessary hack
to support the old ctest's inability to parse `const fn`. The new ctest
doesn't have this limitation, so remove the config.

Additionally, switch from the `*` kleene to `?` since that is possible
now.

(backport <#4712>)
(cherry picked from commit 4894081)
@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 Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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