Closed anthrotype closed 5 years ago
Yeah, this is biting me too. It's possible to work around it by specifying these dependencies in the Cargo.toml:
[dependencies]
# TODO: will make back-end optional
harfbuzz = "=0.3.0"
harfbuzz-sys = "=0.3.0"
I think it needs to be fixed on the harfbuzz side, I don't believe there's anything I'm doing wrong.
Yes, that will be fixed by https://github.com/servo/rust-harfbuzz/pull/142.
FYI, harfbuzz-sys
0.3.2 is out with a fix for this.
I just tried to clone the repo and run
cargo build
, and I got this build error when compiling the harfbuzz-sys crate dependency:This happens when I compile skribo on Debian Linux. However, when I do it on my Mac it builds without the error above.
These may be related: https://github.com/servo/rust-harfbuzz/issues/137 https://github.com/servo/rust-harfbuzz/pull/136
Note that if I build rust-harfbuzz directly from source (as opposed to fetching it as a dependency of skribo), it builds without that error, also on Linux.