linebender / parley

Rich text layout library
Apache License 2.0
228 stars 28 forks source link

Fix `no_std` compilation in `fontique`. #158

Closed xStrom closed 2 weeks ago

xStrom commented 2 weeks ago

The following command now passes:

cargo check -p fontique --locked --no-default-features --features libm --target x86_64-unknown-none

The key was removing the use of not(any(target_vendor="apple", target_family="windows")) to include std using dependencies, which triggers with x86_64-unknown-none.

I also synced the dependency conditionals with what the code expects.

This is progress towards #86.