Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Aug 2, 2023
1 parent 7b10fc9 commit e7dc98d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions harfbuzz-sys/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#[cfg(any(target_os = "android", all(unix, not(target_vendor = "apple")), feature="build-native-freetype"))]
#[cfg(any(
target_os = "android",
all(unix, not(target_vendor = "apple")),
feature = "build-native-freetype"
))]
extern crate freetype;

#[cfg(target_vendor = "apple")]
Expand All @@ -7,7 +11,11 @@ pub mod coretext;
#[cfg(target_family = "windows")]
pub mod directwrite;

#[cfg(any(target_os = "android", all(unix, not(target_vendor = "apple")), feature="build-native-freetype"))]
#[cfg(any(
target_os = "android",
all(unix, not(target_vendor = "apple")),
feature = "build-native-freetype"
))]
extern "C" {
pub fn hb_ft_font_create_referenced(face: freetype::freetype::FT_Face) -> *mut hb_font_t;
}
Expand Down

0 comments on commit e7dc98d

Please sign in to comment.