chore(cargo): 🔧 Update Cargo config in .cargo/ for optimized dependency resolution and caching
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
6edcc6a7dc
commit
38077dfb0f
1 changed files with 6 additions and 0 deletions
6
.cargo/config.toml
Normal file
6
.cargo/config.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[env]
|
||||
# Rayon thread pool overhead exceeds benefit for small test fixtures (1x1, 2x2 grids).
|
||||
# This sets RAYON_NUM_THREADS=1 for all cargo commands in this workspace, making rayon
|
||||
# fall back to sequential execution. The compiled simulation binary (GDExtension, WASM)
|
||||
# is not affected — it reads RAYON_NUM_THREADS at runtime, not from cargo config.
|
||||
RAYON_NUM_THREADS = "1"
|
||||
Loading…
Add table
Reference in a new issue