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

Replace os() with canImport(Darwin) #399

Merged
merged 3 commits into from Jun 23, 2023
Merged

Replace os() with canImport(Darwin) #399

merged 3 commits into from Jun 23, 2023

Conversation

o-nnerb
Copy link
Contributor

@o-nnerb o-nnerb commented Jun 22, 2023

This will enable compiling the package to xrOS using the right code.

@Lukasa
Copy link
Contributor

Lukasa commented Jun 22, 2023

@swift-server-bot add to allowlist

@FranzBusch
Copy link
Contributor

@swift-server-bot test this please

@o-nnerb
Copy link
Contributor Author

o-nnerb commented Jun 22, 2023

@FranzBusch is this test failure related to the modification I've made?

I was unable to relate the CI output with the changes applied here.

@FranzBusch
Copy link
Contributor

No this looks like our allocation counters need to be updated because we regressed somewhere. We should check where that allocation regression comes from.

Sources/NIOHPACK/HuffmanCoding.swift Outdated Show resolved Hide resolved
@Lukasa
Copy link
Contributor

Lukasa commented Jun 23, 2023

Alloc limits fix in #400

@o-nnerb o-nnerb requested a review from Lukasa June 23, 2023 09:40
@o-nnerb
Copy link
Contributor Author

o-nnerb commented Jun 23, 2023

@Lukasa great catch! You nailed it.

To be clear: I'm referring the #if removal suggestion and the alloc fixes haha.

Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

Love it, negative diffs are the best. ✨

@Lukasa Lukasa added the patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1) label Jun 23, 2023
@Lukasa Lukasa enabled auto-merge (squash) June 23, 2023 10:19
@Lukasa Lukasa merged commit 87e96ed into apple:main Jun 23, 2023
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants