Skip to content

Bump to read-fonts 0.44 - #478

Open
akx wants to merge 3 commits into
harfbuzz:mainfrom
akx:read-fonts-044
Open

akx wants to merge 3 commits into
harfbuzz:mainfrom
akx:read-fonts-044

Conversation

@akx

@akx akx commented Sep 17, 2026 •

Copy link
Copy Markdown

Bumps read-fonts from 0.43.3 to 0.44.0 and fixes what needs to be fixed.

cargo test runs on my machine aside from some flakiness around NULL_FUNC_DROPS (52dc693). A couple re-runs and it was green.

@akx

akx commented Sep 17, 2026 •

Copy link
Copy Markdown
Author

Ah... looks like yoke-derive 0.8.3 (published yesterday) isn't compatible with Rust 1.85?

Details
$ cargo +1.85 build
error[E0599]: no function or associated item named `from_utf8` found for type `str` in the current scope
   --> yoke-derive-0.8.3/src/lib.rs:202:32
    |
202 |         let underscores = str::from_utf8(&underscores).expect("_ is ASCII and thus UTF-8");
    |                                ^^^^^^^^^ function or associated item not found in `str`
    |
help: you are looking for the module in `std`, not the primitive type
    |
202 |         let underscores = std::str::from_utf8(&underscores).expect("_ is ASCII and thus UTF-8");
    |                           +++++

EDIT: Fixed in the second commit. cargo +1.85 build and cargo build -p harfrust --target thumbv7em-none-eabihf --no-default-features --features=libm work locally too.

@behdad
behdad requested a review from dfrg September 17, 2026 19:15
@akx

akx commented Sep 18, 2026

Copy link
Copy Markdown
Author

Fixed the "multiple versions for dependency syn: 2.0.119, 3.0.6" lint issue too (by allowing both syn 2 and syn 3 in clippy.toml).

@dfrg

dfrg commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Thanks! This looks good, but I think we want to hold off on read-fonts updates for just a bit. Releasing will require a breaking change and there are updates coming to read-fonts soon (hopefully next week) that will provide real performance and correctness improvements.

@akx

akx commented Sep 18, 2026

Copy link
Copy Markdown
Author

@dfrg Okiedoke, thanks for the heads-up! Looking forward to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants