Run make spelling to enforce en-GB-oxendict prose spelling. The shared
typos-config-builder gate regenerates typos.toml on every run from the live
estate dictionary and the typos.local.toml overlay, so a word added to the
shared dictionary needs no change here. Because the dictionary is live,
typos.toml is never drift checked in continuous integration. Put narrow
repository-specific exceptions in typos.local.toml; hand-editing typos.toml
is not supported and any edits are overwritten on the next run.
Gauss is a Phase 0 proof-of-concept vector editor built with GPUI. It provides Draw and Manipulate modes, SVG import/export, and undo/redo with a separate selection history.
- Rust toolchain:
nightly-2025-10-23(temporary, seedocs/execplans/phase-0-poc.mdfor rationale). - macOS or Linux (GPUI currently targets these platforms).
cargo run
Gauss uses a custom Cargo profile configuration to reduce dependency
compilation time and the size of target/. The dev profile keeps no
incremental state and no debuginfo at all (incremental = false, debug = 0),
first-party Gauss crates included. The test profile disables debuginfo for
all dependencies (debug = 0 for package."*"), while first-party Gauss
crates retain full debuginfo there.
- Faster builds: Dependency compilation is ~24% faster (measured on a clean build).
- Limited third-party debugging: Stack traces and debugger symbols for dependencies (GPUI, ash, naga, etc.) are reduced.
- Debugging Gauss code needs an override: a default
devbuild carries no debuginfo for first-party crates (gauss, gauss-core, gauss-svg) either. Run Cargo withCARGO_PROFILE_DEV_DEBUG=truefor the workspace crates (or--config 'profile.dev.package.gauss.debug=true'per package), andCARGO_INCREMENTAL=1to rebuild incrementally. Thetestprofile keeps first-party debuginfo.
If you need full debuginfo for dependencies during debugging, use one of these ephemeral approaches to avoid long-lived changes to the committed profile:
Create or edit .cargo/config.toml in the repository root (gitignored):
[profile.dev.package."*"]
debug = 2
[profile.test.package."*"]
debug = 2
Then run cargo clean and rebuild. Remove .cargo/config.toml when done.
- Comment out the
[profile.dev.package."*"]and[profile.test.package."*"]sections inCargo.toml. - Run
cargo cleanand rebuild. - Stash the change with
git stashwhen done (or restore manually).
- Make the profile change, rebuild, and debug.
- Use
git reset --soft HEAD~1to undo the commit without losing other work.
Run the required quality gates before committing changes:
make fmt
make check-fmt
make lint
make test
Or run them all at once:
make all
- Phase 0 plan:
docs/execplans/phase-0-poc.md - GPUI rustdoc:
docs/rustdoc-gpui-0.2.2/