You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I asked in the Rust Community Discord server and it apparently works on other, non-Apple, systems. I haven't tried myself as I .. don't have other systems.
This same code works on the Crates.io version.
Edit: This is the last good commit that works for me : 15d1c2a , pre removing the harfbuzz_sys crate as a dependency.
The text was updated successfully, but these errors were encountered:
Tried cloning the repo into my machine instead of linking from GitHub, and faced the same issue.
A bit of googling about the not found symbols, I found this Stack Overflow Answer, which seems related. but I don't know enough on how to solve it myself. Edit2? I found that the reason is that OS X on ARM puts the Core Foundation libraries somewhere else. The meson file handles that, but I could not figure out how to translate the conditions into build.rs or how to invoke the meson file from there.
Edit: commenting out this part in build.rs made it compile and run the example successfully:
if target.contains("apple"){
cfg.define("HAVE_CORETEXT","1");}
Hello.
My machine is a MacBook Air M2.
I am on the latest Rust release (1.75.0).
This is my
dependencies
section inCargo.toml
I am using the example code given in the crate. Regardless, this is my code:
And this is the error I get :
error.txt
I asked in the Rust Community Discord server and it apparently works on other, non-Apple, systems. I haven't tried myself as I .. don't have other systems.
This same code works on the Crates.io version.
Edit: This is the last good commit that works for me : 15d1c2a , pre removing the
harfbuzz_sys
crate as a dependency.The text was updated successfully, but these errors were encountered: