Skip to content

Commit

Permalink
partial fix for mooman219#98
Browse files Browse the repository at this point in the history
  • Loading branch information
phip1611 committed Jan 12, 2022
1 parent a7e02e9 commit 25cdd0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
#![allow(clippy::style)]
#![allow(clippy::complexity)]

// Partial fix for https://github.com/mooman219/fontdue/issues/98
#[cfg(all(any(target_arch = "x86", target_arch = "x86_64"), feature = "simd", not(target_feature = "sse")))]
compile_error!("on x86_64 the `simd` feature only compiles, if SSE is enabled!");

extern crate alloc;

mod font;
Expand Down

0 comments on commit 25cdd0b

Please sign in to comment.