Skip to content

Conversation

@heckj
Copy link
Member

@heckj heckj commented Dec 19, 2025

Updates the guide to building packages for Swift Server

Motivation:

Updates the guide to building packages for Swift Server, resolves #1217

Modifications:

Revise to align to the outline in #1217 and add some additional guidance on inspecting binary executables using file with examples to show how the different build options can be compared.

Result:

Perhaps the easiest way to view this content would be to check out this PR and running the branch locally, so you get a good HTML preview of the proposed article updates:

gh pr checkout 1277
make build
make website
open http://localhost:4000/documentation/server/guides/building/
make clean

@heckj heckj self-assigned this Dec 19, 2025
@heckj heckj requested a review from a team as a code owner December 19, 2025 19:40
@heckj heckj added the documentation Improvements or additions to documentation label Dec 19, 2025

## Use package traits

Beyond additional compiler flags, Swift 6.2 introduces another way to control what gets built.
Copy link
Member

Choose a reason for hiding this comment

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

Traits were added in 6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

building ([current](https://www.swift.org/documentation/server/guides/building.html))

2 participants