build: dev profile 关 incremental,让 sccache 生效
dev/test 构建默认 incremental=true,sccache 对增量目标直接拒缓存 (CannotCache(incremental)),target 只增不减。关掉后 dev 构建也能命中外层缓存。
This commit is contained in:
1 parent
417c8c9be2
commit
2d1bf44eca
1 file changed
+3
@@ -15,3 +15,6 @@ ngx = { path = "../ipass-core/rust/vendor/ngx-rust" }
|
||||
nginx-sys = { path = "../ipass-core/rust/vendor/ngx-rust/nginx-sys" }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
[profile.dev]
|
||||
incremental = false
|
||||
Reference in new issue
Block a user