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

Enable MemberImportVisibility check - attempt 2 #3029

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

rnro
Copy link
Contributor

@rnro rnro commented Dec 16, 2024

Enable MemberImportVisibility check on all targets. Use a standard string header and footer to bracket the new block for ease of updating in the future with scripts.

See #3021

@rnro rnro added the 🔨 semver/patch No public API change. label Dec 16, 2024
@rnro rnro force-pushed the enable_MemberImportVisibility_check_2 branch 3 times, most recently from 010d5dc to 0277250 Compare December 16, 2024 14:29
Enable MemberImportVisibility check on all targets. Use a standard
string header and footer to bracket the new block for ease of updating
in the future with scripts.
@rnro rnro force-pushed the enable_MemberImportVisibility_check_2 branch from 0277250 to 1afd8b5 Compare December 16, 2024 14:35
@rnro rnro marked this pull request as ready for review December 16, 2024 14:40
Comment on lines 27 to 32
#if canImport(Darwin)
private let S_IFREG = Darwin.S_IFREG
#elseif canImport(Glibc)
private let S_IFREG = Glibc.S_IFREG
#endif

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This block is probably worth calling out to reviewers

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, I built this patch natively on Android without a problem, so no changes needed there.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Awesome, thanks

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we'll need the same for Musl as we check in a bunch of other places too.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we'll need the same for Musl

Tough to say, as the static Musl SDK doesn't let you build the tests, swiftlang/swift-docker#396.

@rnro rnro enabled auto-merge (squash) December 17, 2024 10:53
Sources/NIOMulticastChat/main.swift Show resolved Hide resolved
Comment on lines 27 to 32
#if canImport(Darwin)
private let S_IFREG = Darwin.S_IFREG
#elseif canImport(Glibc)
private let S_IFREG = Glibc.S_IFREG
#endif

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we'll need the same for Musl as we check in a bunch of other places too.

@rnro rnro merged commit 6008911 into apple:main Dec 17, 2024
33 of 35 checks passed
@rnro rnro deleted the enable_MemberImportVisibility_check_2 branch December 17, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants