-
Notifications
You must be signed in to change notification settings - Fork 61
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
Never run ragel when generated files exist #173
Conversation
r? @jdm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Despite the fact that a bunch of updates to harfbuzz have merged since the last harfbuzz-sys release April, I've checked the changes to the Rust library and doing a minor version update here looks ok to me.
@@ -308,7 +308,7 @@ EXTRA_DIST += \ | |||
$(NULL) | |||
# We decided to add ragel-generated files to git... | |||
#MAINTAINERCLEANFILES += $(RAGEL_GENERATED) | |||
$(srcdir)/%.hh: $(srcdir)/%.rl | |||
$(srcdir)/%.hh: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we apply this change, we need some way to preserve this when we update harfbuzz to new releases, which happens fairly regularly.
Rather than changing an in-tree makefile, let's update https://github.com/servo/rust-harfbuzz/blob/master/harfbuzz-sys/makefile.touch with the hh files instead. |
65cb8a0
to
129e6b7
Compare
@bors-servo r+ |
📌 Commit 129e6b7 has been approved by |
Never run ragel when generated files exist This is untested, but hopefully works around servo/servo#24611. This is not suitable for development of Harfbuzz itself (as opposed to bindings), but hopefully that doesn’t happen in this repository and being required to run `cargo clean` after updating the Harfbuzz version is acceptable.
☀️ Test successful - checks-travis |
… to pick up servo/rust-harfbuzz#173, which hopefully fixes #24611
… to pick up servo/rust-harfbuzz#173, which hopefully fixes #24611
Update harfbuzz-sys … to pick up servo/rust-harfbuzz#173, which hopefully fixes #24611
This is another thing that would be fixed by PR #170 |
This is untested, but hopefully works around servo/servo#24611.
This is not suitable for development of Harfbuzz itself (as opposed to bindings), but hopefully that doesn’t happen in this repository and being required to run
cargo clean
after updating the Harfbuzz version is acceptable.