swarm repositories / source
aboutsummaryrefslogtreecommitdiff
path: root/template/fresh/.cargo
diff options
context:
space:
mode:
authormain <main@swarm.moe>2026-06-13 12:10:55 -0400
committermain <main@swarm.moe>2026-06-13 12:10:55 -0400
commit4735637ead09c4e8d4b9a0409d7ea2538eb9cb40 (patch)
tree344558bb4616293e7f9f3bcdc4dae6cbbcc0b608 /template/fresh/.cargo
parent89dba1d9c0034e6bc544b0f002a65ffe0b29e7dc (diff)
downloadrust_starter-4735637ead09c4e8d4b9a0409d7ea2538eb9cb40.zip
Update Rust starter bootstrap posture
Install project-local Cargo target-dir guidance and template config, keep Cargo output under /data/main/cargo-target/<project-slug>, preserve the global shared target fallback, and raise the source-file cap to 3000 lines.
Diffstat (limited to 'template/fresh/.cargo')
-rw-r--r--template/fresh/.cargo/config.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/fresh/.cargo/config.toml b/template/fresh/.cargo/config.toml
new file mode 100644
index 0000000..a6d7589
--- /dev/null
+++ b/template/fresh/.cargo/config.toml
@@ -0,0 +1,5 @@
+# Replace `rust-starter-template` with the target repository slug.
+# This is a repo-local ratchet only; do not mutate user-global Cargo config.
+
+[build]
+target-dir = "/data/main/cargo-target/rust-starter-template"