Skip to content

feat: Add util_macros and perf crates to gpui workspace#4

Merged
naaiyy merged 1 commit into
mainfrom
feat/add-util-macros
Feb 17, 2026
Merged

feat: Add util_macros and perf crates to gpui workspace#4
naaiyy merged 1 commit into
mainfrom
feat/add-util-macros

Conversation

@naaiyy
Copy link
Copy Markdown
Contributor

@naaiyy naaiyy commented Feb 17, 2026

Summary

  • Adds util_macros and perf crates to the gpui workspace (moved from Glass)
  • util crate now re-exports path!, uri!, and line_endings! macros from util_macros
  • Enables downstream consumers to use util::path!("/some/path") without additional patching

Context

Glass depends on util::path! for cross-platform path handling in tests. Previously these macros only existed in the Glass workspace. By hosting them in gpui, the util crate can re-export them directly.

Test plan

  • cargo check -p util builds clean locally
  • CI passes (fmt, clippy, tests)

🤖 Generated with Claude Code

…ngs! from util

Downstream consumers (Glass) depend on `util::path!` and other macros from
`util_macros`. These crates were previously only in the Glass workspace.
Moving them here lets the gpui `util` crate re-export the macros directly,
so `util::path!("/some/path")` works without additional patching.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@naaiyy naaiyy merged commit a1c27f1 into main Feb 17, 2026
4 checks passed
@naaiyy naaiyy deleted the feat/add-util-macros branch February 17, 2026 23:03
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