Skip to content

Conversation

@samchesney
Copy link
Contributor

@samchesney samchesney commented Nov 18, 2025

Incremental builds were not working optimally for dependants of
gwr-perfetto-sys, resulting in slower incremental builds.

To resolve this issue, and to ensure that these packages will work as
intended when used from crates.io,the gwr-perfetto-sys/perfetto symlink
has been replaced with the PERFETTO_SOURCE const now published by the
gwr-perfetto-sys library.

Incremental builds now work as expected, however it is worth noting that
if files within the gwr-perfetto-sys or gwr-perfetto packages are
touched in between incremental builds they may continue to appear dirty
until the next clean when running cargo check.

@samchesney samchesney added the enhancement New feature or request label Nov 18, 2025
@samchesney samchesney self-assigned this Nov 18, 2025
@samchesney samchesney linked an issue Nov 18, 2025 that may be closed by this pull request
…uilds

Incremental builds were not working optimally for dependants of
gwr-perfetto-sys, resulting in slower incremental builds.

To resolve this issue, and to ensure that these packages will work as
intended when used from crates.io,the `gwr-perfetto-sys/perfetto` symlink
has been replaced with the `PERFETTO_SOURCE` const now published by the
gwr-perfetto-sys library.

Incremental builds now work as expected, however it is worth noting that
if files within the gwr-perfetto-sys or gwr-perfetto packages are
touched in between incremental builds they may continue to appear dirty
until the next clean when running `cargo check`.
@samchesney samchesney force-pushed the fix-perfetto-incremental branch from bd2e6cd to ea49d64 Compare November 18, 2025 19:19
Copy link
Contributor

@pthedinger pthedinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@samchesney samchesney merged commit da7078e into main Nov 20, 2025
22 checks passed
@samchesney samchesney deleted the fix-perfetto-incremental branch November 20, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve gwr-perfetto-sys incremental build behaviour

3 participants