Skip to content

[pull] dev from tauri-apps:dev - #419

Merged
pull[bot] merged 1 commit into
code:devfrom
tauri-apps:dev
Aug 27, 2026
Merged

[pull] dev from tauri-apps:dev#419
pull[bot] merged 1 commit into
code:devfrom
tauri-apps:dev

Conversation

@pull

@pull pull Bot commented Aug 26, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…15918)

* fix(tauri-build): emit absolute capabilities rerun-if-changed path

The relative `cargo:rerun-if-changed=capabilities` is resolved by cargo
against the package that owns the build script, while the glob in the same
branch is resolved against the process working directory. A caller that
`set_current_dir`s before `try_build[_context]` — e.g. a crate generating
a context byte-identical to the app's — ends up watching
`<caller-manifest-dir>/capabilities`, which usually does not exist. A
missing watched path is dirty on every fingerprint check, so the build
script re-runs on every build and recompiles the whole downstream chain
(measured: a zero-change build of a 1.9k-unit workspace app went from ~140s
to ~1s after making the watched dir exist).

Emit the watch path anchored to the current dir the glob already uses.

* chore: add change file for capabilities rerun-if-changed fix
@pull pull Bot locked and limited conversation to collaborators Aug 26, 2026
@pull pull Bot added the ⤵️ pull label Aug 26, 2026
@pull
pull Bot merged commit dd6befd into code:dev Aug 27, 2026
21 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant