From 0f77507330bf255aa17f63df54be5b7dceeba759 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Mon, 18 Aug 2025 14:33:29 +0200 Subject: [PATCH] Stop building Windows with Freetype on the CI and fix a bindings + clippy issue Windows with Freetype is a really unusual combination and the bundled build is currently broken in `freetype-sys` (see #270). Just building a normal bundled build should allow us to upgrade to the latest version of `freetype-sys`. Signed-off-by: Martin Robinson --- .github/workflows/main.yml | 4 ++-- harfbuzz-sys/src/lib.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ffb7f715..16d97fb6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -134,10 +134,10 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Cargo build - run: cargo build --workspace --features "freetype-sys/bundled bundled" + run: cargo build --workspace --no-default-features --features "bundled directwrite" - name: Cargo test - run: cargo test --workspace --features "freetype-sys/bundled bundled" + run: cargo test --workspace --no-default-features --features "bundled directwrite" env: RUST_BACKTRACE: 1 diff --git a/harfbuzz-sys/src/lib.rs b/harfbuzz-sys/src/lib.rs index 69b070f9..8f70db83 100644 --- a/harfbuzz-sys/src/lib.rs +++ b/harfbuzz-sys/src/lib.rs @@ -36,6 +36,7 @@ pub mod freetype; #[allow(non_snake_case)] #[allow(non_upper_case_globals)] #[allow(clippy::unreadable_literal)] +#[allow(clippy::doc_markdown)] #[allow(rustdoc::bare_urls)] #[allow(rustdoc::broken_intra_doc_links)] mod bindings;