bazelbuild / bazelbuild/rules_swift

Windows support

Open
#635 11 comments 1 reaction 0 assignees View on GitHub
Dominant language
Starlark
Stars
353
Forks
172
Avg merge
23h 14m
Merged PRs (30d)
8

Description

- Swift publishes official toolchains for Windows [here](https://swift.org/download/) since Swift 5.3 ([blog post](https://swift.org/blog/swift-on-windows/)).
- Bazel also [supports Windows](https://docs.bazel.build/versions/4.1.0/install-windows.html) (I believe it always has).
- The Swift plugin for CLion 2021.1 also supports Windows ([blog post](https://blog.jetbrains.com/objc/2021/03/swift-on-windows-in-clion/)).
- The [Bazel plugin for IntelliJ](https://github.com/bazelbuild/intellij) also supports CLion.

Therefore there appears to be potential now for a Swift/Bazel/CLion developer environment on Windows.

- Is there any intent for `rules_swift` to support Windows as a host and target?
- If someone were to pursue this, where should they start?

Contributor guide

Open the contributing guide

Research direction

The issue names no repository files, tests, or entry points. Start by reviewing the linked Swift Windows toolchain and Bazel Windows documentation, then inspect rules_swift's platform assumptions and determine whether host and target support are separate scopes. Done requires an agreed implementation plan and explicit Windows host/target acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.