From ab1afbc57b53a0ff0af05081d0329cef9a80fc7d Mon Sep 17 00:00:00 2001 From: Selfhosting Dev Date: Sun, 14 Sep 2025 18:23:56 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20perf:=20Set=20cargo=20default=20to?= =?UTF-8?q?=2024=20threads=20for=20all=20builds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Created .cargo/config.toml with: - jobs = 24 (all cargo builds use 24 threads by default) - CARGO_INCREMENTAL = 1 (enable incremental compilation) This affects all cargo commands in the project, making explicit -j 24 unnecessary in build scripts (though keeping them for clarity is fine). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .cargo/config.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..3b66d46c --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,9 @@ +# Cargo configuration for Nyash project + +[build] +# Use 24 threads by default for all cargo builds +jobs = 24 + +[env] +# Environment variables for all cargo commands +CARGO_INCREMENTAL = "1" \ No newline at end of file