build: speed up debug compile loop #77

Merged
cameron merged 1 commits from feature/build-time-speedups into master 2026-05-06 21:41:20 +00:00
Owner
  • Drop libsqlite3-sys 'bundled' on Linux/macOS so the SQLite C source
    isn't recompiled every clean build; Windows keeps 'bundled' via a
    cfg(windows) target override.
  • Switch opentelemetry-otlp from grpc-tonic to http-proto + reqwest-client.
    Removes the tonic + h2 + hyper-h2 stack from the build graph; reqwest
    was already a dependency. Updates otel.rs to call .with_http().
  • Add [profile.dev] debug = "line-tables-only" to shrink linker work
    while keeping panics/backtraces useful.
  • Add .cargo/config.toml selecting mold via gcc on x86_64-linux-gnu.
    Requires apt install mold. Other platforms use the default linker.
  • cargo update: lockfile-only refresh of all minor/patch bumps within
    existing version constraints.

Cold debug build: ~1m 37s; touch-one-file rebuild: ~5s on Linux.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

- Drop libsqlite3-sys 'bundled' on Linux/macOS so the SQLite C source isn't recompiled every clean build; Windows keeps 'bundled' via a cfg(windows) target override. - Switch opentelemetry-otlp from grpc-tonic to http-proto + reqwest-client. Removes the tonic + h2 + hyper-h2 stack from the build graph; reqwest was already a dependency. Updates otel.rs to call .with_http(). - Add [profile.dev] debug = "line-tables-only" to shrink linker work while keeping panics/backtraces useful. - Add .cargo/config.toml selecting mold via gcc on x86_64-linux-gnu. Requires `apt install mold`. Other platforms use the default linker. - cargo update: lockfile-only refresh of all minor/patch bumps within existing version constraints. Cold debug build: ~1m 37s; touch-one-file rebuild: ~5s on Linux. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
cameron added 1 commit 2026-05-06 21:41:07 +00:00
- Drop libsqlite3-sys 'bundled' on Linux/macOS so the SQLite C source
  isn't recompiled every clean build; Windows keeps 'bundled' via a
  cfg(windows) target override.
- Switch opentelemetry-otlp from grpc-tonic to http-proto + reqwest-client.
  Removes the tonic + h2 + hyper-h2 stack from the build graph; reqwest
  was already a dependency. Updates otel.rs to call .with_http().
- Add [profile.dev] debug = "line-tables-only" to shrink linker work
  while keeping panics/backtraces useful.
- Add .cargo/config.toml selecting mold via gcc on x86_64-linux-gnu.
  Requires `apt install mold`. Other platforms use the default linker.
- cargo update: lockfile-only refresh of all minor/patch bumps within
  existing version constraints.

Cold debug build: ~1m 37s; touch-one-file rebuild: ~5s on Linux.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
cameron merged commit c7bd2226cc into master 2026-05-06 21:41:20 +00:00
cameron deleted branch feature/build-time-speedups 2026-05-06 21:41:20 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Apps/ImageApi#77