fixing pane in client for accounting + debug optimizations to run
This commit is contained in:
12
.cargo/config.toml
Normal file
12
.cargo/config.toml
Normal 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"]
|
||||
Reference in New Issue
Block a user