Skip to content

docs: build for wasm with the Swift 6.4.2 SDK - #18

Merged
Vithanco merged 1 commit into
mainfrom
swift-6.4.2
Nov 12, 2026
Merged

Vithanco merged 1 commit into
mainfrom
swift-6.4.2

Conversation

@Vithanco

@Vithanco Vithanco commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

The wasm build commands in the docs now name the current SDK:

 README.md, WASM.md
-GRAPHVIZ_WASM=1 swift build --swift-sdk swift-6.3.3-RELEASE_wasm-embedded
+GRAPHVIZ_WASM=1 swift build --swift-sdk swift-6.4.2-RELEASE_wasm-embedded

The "verified with 6.3.3" note in WASM.md stays and gains a line for 6.4.2. The toolchain notes about how the C library was built are unchanged, because the bundle wasn't rebuilt.

Evidence

Run on macOS with swift-6.4.2-RELEASE:

  • swift test: 23 tests in 6 suites pass.
  • GRAPHVIZ_WASM=1 swift build --swift-sdk swift-6.4.2-RELEASE_wasm-embedded: build complete, no warnings.

Merge Danger

Door: two-way

Blast Radius: docs

Docs only. Neither the package nor CI changes, and CI still tests the oldest supported Swift (6.2).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated WebAssembly build and verification examples to use Swift 6.4.2 instead of Swift 6.3.3.

SwiftGraphviz and GraphvizBridge build cleanly with
swift-6.4.2-RELEASE_wasm-embedded, and swift test passes on 6.4.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The README and WASM.md update WebAssembly build instructions to use Swift 6.4.2. WASM.md also records a verification with Swift 6.4.2. The documented linker arguments remain unchanged.

Changes: WebAssembly SDK Documentation

Layer / File(s) Summary
Update documented SDK version
README.md, WASM.md
The WebAssembly build commands now use the Swift 6.4.2 SDK. WASM.md records an additional verification with this version. The linker arguments remain unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

  • Vithanco/SwiftGraphviz#7: Added the README WebAssembly build example and documentation that this pull request updates.

Suggested reviewers: claude

Merge Risk: Minimal · up to dc0ee

This is a documentation-only update of the WebAssembly build commands to Swift 6.4.2. No runtime or build behavior changes, so merge risk is minimal.

Architecture risk: Low · up to dc0ee

The change affects 2 systems.

Changed systems: README.md, WASM.md

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — README.md (service) was modified; 1 changed file maps to changed impact.
  • observed — WASM.md (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in README.md: The documented WebAssembly build command changes its example Swift wasm SDK from swift-6.3.3-RELEASE_wasm-embedded to swift-6.4.2-RELEASE_wasm-embedded.
  • observed — Modified behavior in WASM.md: The verification note now records both the earlier Swift 6.3.3 check and a later Swift 6.4.2 check.
  • observed — Modified behavior in WASM.md: The embedded-Wasm build command now selects the Swift 6.4.2 SDK instead of Swift 6.3.3.
  • observed — Modified behavior in WASM.md: The Package.swift wiring build command now selects the Swift 6.4.2 SDK instead of Swift 6.3.3; the following linker arguments are unchanged.
Pre-merge checks: Passed 6

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating the WebAssembly documentation to use the Swift 6.4.2 SDK.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Bundled Graphviz Consistency Passed Not applicable. The PR changes only README.md and WASM.md. It does not change the listed Graphviz artifacts or artifacts.sha256.
Public Api Break Disclosure Passed The PR changes only README.md and WASM.md. It does not change any public declaration in Sources/SwiftGraphviz.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 82c41c5 and dc0eef3.

Files selected for processing: 2

  • README.md
  • WASM.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@Vithanco
Vithanco merged commit b2f1944 into main Nov 12, 2026
4 checks passed
@Vithanco
Vithanco deleted the swift-6.4.2 branch November 12, 2026 05:18
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.

1 participant