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

Add Experimental Windows Support #281

Closed

Conversation

brianmichel
Copy link
Contributor

This should build (but not completely test) on Windows. I would label it as experimental since it does run, but will likely have issues that need to be ironed out. As mentioned in #279 a pluggable networking stack will help us work around the problems with URLSession but I figured I'd post this as a mergable artifact.

Changes

  • This adds an .editorconfig so that style can be kept consistent across those who are using Xcode and other editors (I don't know if theseis the right settings, but I tried to match what was there)
  • Add a new WindowsVendorSystem with system calls to populate various bits of information where possible.
  • Update #if blocks around the codebase to allow for building on Windows
  • Add entry for Windows CI to ensure that the codebase stays buildable on Windows.

I apologize for the trimming of the whitespace, I can try to rebuild this PR if it's an annoyance, but it seems that VS Code trims whitespace by default and this is where I ended up.

@brianmichel
Copy link
Contributor Author

brianmichel commented Nov 29, 2023

Rebasing is blocked until segmentio/JSONSafeEncoding-Swift#1 (or some variant of this) lands

@brianmichel brianmichel force-pushed the brian/add-windows-support branch from d8ea938 to a136212 Compare December 1, 2023 00:57
@brianmichel
Copy link
Contributor Author

@bsneed this should be ready for review if you'd like

@bsneed
Copy link
Contributor

bsneed commented Feb 12, 2024

cc @alanjcharles

alanjcharles and others added 5 commits February 27, 2024 15:38
remove merge conflict label
remove merge conflict label
remove merge conflict label
remove merge conflict label
@bsneed
Copy link
Contributor

bsneed commented May 16, 2024

Closing this in lieu of the merged/updated PR #348

@bsneed bsneed closed this May 16, 2024
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.

3 participants