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

Deprecate Platform.current in favor of requesting an injected Platform #16765

Merged
merged 3 commits into from Sep 2, 2022

Conversation

stuhood
Copy link
Sponsor Member

@stuhood stuhood commented Sep 2, 2022

As part of #16721, the Platform to use will become dependent on a @rule's position in the @rule graph. To get the correct Platform, a @rule should request a Platform as a positional argument.

[ci skip-rust]
[ci skip-build-wheels]

[ci skip-rust]
[ci skip-build-wheels]
[ci skip-rust]
[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@stuhood stuhood enabled auto-merge (squash) September 2, 2022 22:54
@stuhood stuhood merged commit 7f98ead into pantsbuild:main Sep 2, 2022
@stuhood stuhood deleted the stuhood/deprecate-platform-current branch September 2, 2022 23:32
Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Thanks for splitting this out!

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

Successfully merging this pull request may close these issues.

None yet

3 participants