Repository navigation
Commit e79f695
committed
fix(build): skip rerun-if-changed for .files() in Buf mode
In Buf mode, `.files()` holds proto-relative names (e.g. "my/service.proto"),
not filesystem paths. Emitting `cargo:rerun-if-changed` for these points
cargo at non-existent files, forcing a rebuild on every invocation.
This is the same issue that was fixed for Precompiled mode in #56, but
Buf mode was missed in that fix.1 parent a2f86ba commit e79f695
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
315 | 320 | | |
316 | 321 | | |
317 | 322 | | |
| |||
0 commit comments