Fix compare_against_sw_vers test by madsmtm · Pull Request #146379 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation2 Commits1 Checks10 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

@madsmtm

The saturating_sub doesn't actually perform its intended since the version numbers are signed integers (which I changed in a later revision of #138944).

Fixes the issue described in #138944 (comment).

r? tgross35

@madsmtm

@madsmtm madsmtm added O-apple

Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)

I-flaky-test

Issue: A test is flaky/unreliable/spuriously fails

labels

Sep 9, 2025

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.

labels

Sep 9, 2025

tgross35

@tgross35

@bors

📌 Commit 23edc4d has been approved by tgross35

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Sep 9, 2025

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Sep 9, 2025

@GuillaumeGomez

… r=tgross35

Fix compare_against_sw_vers test

The saturating_sub doesn't actually perform its intended since the version numbers are signed integers (which I changed in a later revision of rust-lang#138944).

Fixes the issue described in rust-lang#138944 (comment).

r? tgross35

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Sep 9, 2025

@GuillaumeGomez

… r=tgross35

Fix compare_against_sw_vers test

The saturating_sub doesn't actually perform its intended since the version numbers are signed integers (which I changed in a later revision of rust-lang#138944).

Fixes the issue described in rust-lang#138944 (comment).

r? tgross35

bors added a commit that referenced this pull request

Sep 10, 2025

@bors

Rollup of 6 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit that referenced this pull request

Sep 11, 2025

@bors

Rollup of 11 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit that referenced this pull request

Sep 11, 2025

@bors

Rollup of 11 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit that referenced this pull request

Sep 11, 2025

@rust-timer

Rollup merge of #146379 - madsmtm:fix-platform_version-test, r=tgross35

Fix compare_against_sw_vers test

The saturating_sub doesn't actually perform its intended since the version numbers are signed integers (which I changed in a later revision of #138944).

Fixes the issue described in #138944 (comment).

r? tgross35

@madsmtm madsmtm deleted the fix-platform_version-test branch

September 11, 2025 16:44

github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request

Oct 9, 2025

@Zalathar

… r=tgross35

Fix compare_against_sw_vers test

The saturating_sub doesn't actually perform its intended since the version numbers are signed integers (which I changed in a later revision of rust-lang#138944).

Fixes the issue described in rust-lang#138944 (comment).

r? tgross35

Labels

I-flaky-test

Issue: A test is flaky/unreliable/spuriously fails

O-apple

Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.