This commit is contained in:
Andras Schmelczer 2026-07-12 20:30:19 +01:00
parent 6df2812a4e
commit 9e4e65fa2a
35 changed files with 1172 additions and 70 deletions

View file

@ -30,6 +30,13 @@ services:
- cargo-home:/usr/local/cargo
- cargo-target:/app/server-rs/target
environment:
# Disable incremental compilation. cargo-watch does incremental
# rebuilds over the mounted source; editing a struct with a generic
# serde impl mid-flight can corrupt the incremental cache and produce
# `rust-lld: undefined hidden symbol ...::serialize` link failures
# that never resolve until a clean rebuild. Off = slightly slower
# warm rebuilds, but no such corruption.
CARGO_INCREMENTAL: "0"
# Fallback only: the binary uses jemalloc as its global allocator
# (tuned via a baked-in malloc_conf). Caps glibc to 2 arenas.
MALLOC_ARENA_MAX: "2"