Skip to content

[SE-0368] StaticBigInt: support older compilers #62541

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

Merged
merged 5 commits into from
Dec 13, 2022

Conversation

benrimmington
Copy link
Contributor

Follow-up to: #62424 (comment)

@benrimmington

This comment was marked as outdated.

@benrimmington

This comment was marked as outdated.

Use an undefined feature flag.
@benrimmington

This comment was marked as outdated.

@benrimmington

This comment was marked as outdated.

Copy link
Contributor

@rjmccall rjmccall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like I said, you didn't really need to make the #else path work dynamically, just let it compile so that old code can build with an old compiler if it happens to see a new SDK.

Well, anyway, I don't have any objection to trying to implement it if you think these implementations are valid, but I'm not going to bother reviewing them to figure that out. Your use of conditionals looks right, thank you.

@benrimmington

This comment was marked as outdated.

@benrimmington
Copy link
Contributor Author

@swift-ci Please smoke test

@benrimmington benrimmington merged commit 620ba33 into swiftlang:main Dec 13, 2022
@benrimmington benrimmington deleted the staticbigint branch December 13, 2022 11:20
@benrimmington
Copy link
Contributor Author

The oss-swift-test-stdlib-with-toolchain job is failing again, until the next snapshot is available to download.

The oss-swift-test-stdlib-with-toolchain-minimaln job is succeeding, because stdlib/StaticBigInt.swift is unsupported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants