Skip to content

Add headerVisibility support on PIFBuilder #6167

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 2 commits into from
Mar 8, 2023

Conversation

giginet
Copy link
Contributor

@giginet giginet commented Feb 17, 2023

Motivation:

PIF has headerVisibility for each BuildFile, however, we can't add headerVisibility in any way.

Modifications:

  • Enable encoding and decoding of headerVisibility
  • Add constructors to set headerVisibility
  • Add tests for encode/decode

Result:

@giginet
Copy link
Contributor Author

giginet commented Feb 28, 2023

@neonichu Hi! 👋

What do you think about this patch?

@neonichu
Copy link
Contributor

neonichu commented Mar 6, 2023

@swift-ci please smoke test

@neonichu
Copy link
Contributor

neonichu commented Mar 6, 2023

Thanks, @giginet, looks good to me.

I'm going to run a toolchain build for this, though, since the smoke tests don't actually exercise a full build of SwiftPM using --build-system xcode.

@neonichu
Copy link
Contributor

neonichu commented Mar 7, 2023

Toolchain build passed.

@neonichu
Copy link
Contributor

neonichu commented Mar 7, 2023

@swift-ci please smoke test windows

@neonichu neonichu merged commit 50f7b54 into swiftlang:main Mar 8, 2023
@giginet giginet deleted the header-visibility-support branch March 9, 2023 07:05
@giginet giginet restored the header-visibility-support branch March 9, 2023 13:17
giginet added a commit to giginet/swift-package-manager that referenced this pull request Mar 29, 2023
* Add headerVisibility for PIF builders

* Add test for encoding header phase
giginet added a commit to giginet/swift-package-manager that referenced this pull request Mar 29, 2023
* Add headerVisibility for PIF builders

* Add test for encoding header phase
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