-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compression feature breaks incremental builds #182
Comments
Do you think this can be fixed/added in the |
There is an unstable feature that would allow it to track the file, but that would mean that using it would require nightly. rust-lang/rust#99515 There is another workaround which involves assigning I wanted to report it here in case it would be prudent to add a warning that compression should only be used with clean builds or something until this can be fixed. |
Yeah maybe we can update the readme. Will do it thanks. |
Done. thanks. |
Hey, it looks like this issue was addressed within include_flate itself recently? SOF3/include-flate@4cf6b8e |
Ahh nice. Will update include-flate to |
Seems like it breaks the tests,
|
These paths look like a concatenation of absolute and relative path; I believe include-flate 0.2 explicitly dropped support for absolute paths, so perhaps they changed the API to accept only relative paths? |
Fixed again in v6.8.1. Thanks. |
When using the compression feature, incremental builds where only the embedded files change do not trigger a rebuild. This is most obvious when using both compression and debug-embed.
I think this is because
include_bytes!
has special logic in the compiler to add a dependency and trigger rebuilds when the file changes, butinclude_flate!
does not (and does not useinclude_bytes!
internally).The text was updated successfully, but these errors were encountered: