Skip to content

docs: add macOS Metal Toolchain setup - #76

Merged
66HEX merged 1 commit into
66HEX:masterfrom
Kevinjohn:docs/macos-metal-toolchain
Jul 17, 2026
Merged

66HEX merged 1 commit into
66HEX:masterfrom
Kevinjohn:docs/macos-metal-toolchain

Conversation

@Kevinjohn

@Kevinjohn Kevinjohn commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

This adds the missing macOS shader-toolchain step where contributors will see it during setup.

The guide now explains how to verify and install Xcode's Metal Toolchain before building Frame.

Closes #75.

What changed

  • documented that the GPUI shader build needs the Metal compiler from a full Xcode installation
  • added xcrun metal --version as a quick prerequisite check
  • added xcodebuild -downloadComponent MetalToolchain for the missing-component case

The change is limited to the macOS section of CONTRIBUTING.md.

Verification

  • xcrun metal --version
  • cargo test --manifest-path frame-app/Cargo.toml --no-run
  • cargo xtask ci on 95958da plus the gate-restoring commit from fix: restore Rust 1.95 Clippy gate #71 (549629d) — passed completely in a temporary validation worktree
  • git diff --check

Actual screenshots

Before: affa1fb, Xcode 26.6 on macOS. The guide has no Metal Toolchain step, and the documented Command Line Tools environment cannot resolve metal:

Before documentation change: terminal showing no MetalToolchain instruction and a failed Command Line Tools metal lookup

After: 95958da, on the same Mac. The download command is documented, the installed compiler responds, and the app test build exits successfully:

After documentation change: terminal showing the MetalToolchain instruction, compiler version, and successful app test build

@Kevinjohn
Kevinjohn marked this pull request as ready for review July 17, 2026 03:04
@66HEX
66HEX merged commit c1b0e83 into 66HEX:master Jul 17, 2026
1 check passed
@Kevinjohn
Kevinjohn deleted the docs/macos-metal-toolchain branch July 18, 2026 18:00
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.

Document the macOS Metal Toolchain prerequisite

2 participants