fixing pane in client for accounting + debug optimizations to run

This commit is contained in:
Priec
2026-08-14 07:45:36 +02:00
parent b2f141ccba
commit 85602159f4
10 changed files with 55 additions and 4 deletions

12
.cargo/config.toml Normal file
View File

@@ -0,0 +1,12 @@
# Faster linking for local dev rebuilds.
# Uses lld instead of the default bfd linker; requires `lld` from the flake
# devShell. Run `direnv reload` after changing flake.nix.
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
# Build first and run the resulting binary outside Cargo. This lets client,
# server, and test builds share the target cache without a long-lived
# `cargo run` process holding up another Cargo invocation.
[alias]
watch-client = ["watch", "--delay", "0.1", "--ignore", "**/common/src/proto/**", "--exec", "build --package client", "--shell", "workspace_manifest=$(cargo locate-project --workspace --message-format plain); exec ${workspace_manifest%Cargo.toml}target/debug/client client"]
watch-server = ["watch", "--why", "--delay", "0.1", "--ignore", "**/common/src/proto/**", "--exec", "build --package server", "--shell", "workspace_manifest=$(cargo locate-project --workspace --message-format plain); exec ${workspace_manifest%Cargo.toml}target/debug/server server"]