Skip to content
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

Auto rebuild workaround #13

Merged
merged 1 commit into from
Feb 13, 2023
Merged

Auto rebuild workaround #13

merged 1 commit into from
Feb 13, 2023

Conversation

cyqsimon
Copy link
Contributor

Closes #12.

I didn't know how to write a test for this. It's not ideal, but thinking of how I can test this hurts my brain. Sorry ¯\_(ツ)_/¯

@SOF3
Copy link
Owner

SOF3 commented Feb 12, 2023

Are you sure it doesn't include the raw contents into the bin output?

@cyqsimon
Copy link
Contributor Author

Are you sure it doesn't include the raw contents into the bin output?

Yeah I checked. See #12 (comment)

@cyqsimon
Copy link
Contributor Author

With both the default debug and release profiles, the raw contents are optimised away by the compiler.

Maybe there's some optimisation setting somewhere that the user can set that will prevent this behaviour, but those situations are probably too niche to warrant special consideration TBH.

@SOF3 SOF3 merged commit e5616fd into SOF3:master Feb 13, 2023
@SOF3
Copy link
Owner

SOF3 commented Feb 13, 2023

I am a bit concerned about the impacts, so I will release this in a new minor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Modifying the file included with flate! doesn't automatically trigger rebuild
2 participants