chore: 关闭 dev profile 增量编译 + 补齐 Cargo.toml 末尾换行
影响: - 本地 `cargo build` 不再生成 target/debug/incremental 缓存目录,磁盘占用明显下降 - 改完源码必须全量重编(首次约 30s),换来 sccache 命中率提升与构建产物可控 改动: - Cargo.toml 增加 `[profile.dev] incremental = false`,让 workspace member 正常进入 sccache 缓存 - 补齐文件末尾换行,消除 git 的 "\ No newline at end of file" 噪声 Co-Authored-By: Claude Code <[email protected]>
This commit is contained in:
1 parent
7660b92d70
commit
a717e386b9
1 file changed
+4
-1
+4
-1
@@ -100,4 +100,7 @@ test-bypass = []
|
||||
opt-level = 3
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
strip = true
|
||||
strip = true
|
||||
|
||||
[profile.dev]
|
||||
incremental = false
|
||||
Reference in new issue
Block a user