Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the range syntax that is giving ctest problems #4311

Merged
merged 2 commits into from
Mar 10, 2025

Conversation

tgross35
Copy link
Contributor

ctest is iffy about whether or not it accepts ..= syntax, and I can't figure out what makes it decide whether or not to accept it and sometimes random changes seem to make things fail, so just replace the syntax.

This is simpler anyway, and closer matches the upstream definition [1].

Link: https://github.com/torvalds/linux/blob/80e54e84911a923c40d7bee33a34c1b4be148d7a/Makefile#L1316 [1]

@rustbot
Copy link
Collaborator

rustbot commented Mar 10, 2025

@tgross35: no appropriate reviewer found, use r? to override

@tgross35
Copy link
Contributor Author

Also removing the i586 MSVC target rust-lang/rust#137957

`ctest` is iffy about whether or not it accepts `..=` syntax, and I
can't figure out what makes it decide whether or not to accept it and
sometimes random changes seem to make things fail, so just replace the
syntax.

This is simpler anyway, and closer matches the upstream definition [1].

Link: https://github.com/torvalds/linux/blob/80e54e84911a923c40d7bee33a34c1b4be148d7a/Makefile#L1316 [1]
Since [1], this target no longer exists so we need to remove it from CI.

[1]: rust-lang/rust#137957
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Mar 10, 2025
@tgross35 tgross35 enabled auto-merge March 10, 2025 05:48
@tgross35 tgross35 added this pull request to the merge queue Mar 10, 2025
Merged via the queue into rust-lang:main with commit 35469b9 Mar 10, 2025
44 checks passed
@tgross35 tgross35 deleted the ctest-syntax-fix branch March 10, 2025 06:42
@tgross35 tgross35 mentioned this pull request Mar 10, 2025
3 tasks
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Mar 10, 2025
`ctest` is iffy about whether or not it accepts `..=` syntax, and I
can't figure out what makes it decide whether or not to accept it and
sometimes random changes seem to make things fail, so just replace the
syntax.

This is simpler anyway, and closer matches the upstream definition [1].

Link: https://github.com/torvalds/linux/blob/80e54e84911a923c40d7bee33a34c1b4be148d7a/Makefile#L1316 [1]

(backport <rust-lang#4311>)
(cherry picked from commit 1779f14)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Mar 10, 2025
Since [1], this target no longer exists so we need to remove it from CI.

[1]: rust-lang/rust#137957

(backport <rust-lang#4311>)
(cherry picked from commit 33c320a)
@tgross35 tgross35 mentioned this pull request Mar 10, 2025
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Mar 10, 2025
`ctest` is iffy about whether or not it accepts `..=` syntax, and I
can't figure out what makes it decide whether or not to accept it and
sometimes random changes seem to make things fail, so just replace the
syntax.

This is simpler anyway, and closer matches the upstream definition [1].

Link: https://github.com/torvalds/linux/blob/80e54e84911a923c40d7bee33a34c1b4be148d7a/Makefile#L1316 [1]

(backport <rust-lang#4311>)
(cherry picked from commit 1779f14)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Mar 10, 2025
Since [1], this target no longer exists so we need to remove it from CI.

[1]: rust-lang/rust#137957

(backport <rust-lang#4311>)
(cherry picked from commit 33c320a)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Mar 10, 2025
`ctest` is iffy about whether or not it accepts `..=` syntax, and I
can't figure out what makes it decide whether or not to accept it and
sometimes random changes seem to make things fail, so just replace the
syntax.

This is simpler anyway, and closer matches the upstream definition [1].

Link: https://github.com/torvalds/linux/blob/80e54e84911a923c40d7bee33a34c1b4be148d7a/Makefile#L1316 [1]

(backport <rust-lang#4311>)
(cherry picked from commit 1779f14)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Mar 10, 2025
Since [1], this target no longer exists so we need to remove it from CI.

[1]: rust-lang/rust#137957

(backport <rust-lang#4311>)
(cherry picked from commit 33c320a)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Mar 10, 2025
`ctest` is iffy about whether or not it accepts `..=` syntax, and I
can't figure out what makes it decide whether or not to accept it and
sometimes random changes seem to make things fail, so just replace the
syntax.

This is simpler anyway, and closer matches the upstream definition [1].

Link: https://github.com/torvalds/linux/blob/80e54e84911a923c40d7bee33a34c1b4be148d7a/Makefile#L1316 [1]

(backport <rust-lang#4311>)
(cherry picked from commit 1779f14)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Mar 10, 2025
Since [1], this target no longer exists so we need to remove it from CI.

[1]: rust-lang/rust#137957

(backport <rust-lang#4311>)
(cherry picked from commit 33c320a)
@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 Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-linux-like 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