From 909fdde2a4ffedd9295206f705eb612be2a91b12 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Tue, 27 May 2025 16:19:15 +0100 Subject: [PATCH] Upgrade onig, to get it compiling with GCC 15 (#1771) Distributions are starting to ship with GCC 15, which won't build `onig`. We can upgrade `onig` to an unreleased version, which fixes the issue. --- tokenizers/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokenizers/Cargo.toml b/tokenizers/Cargo.toml index db56865d..f337dc8d 100644 --- a/tokenizers/Cargo.toml +++ b/tokenizers/Cargo.toml @@ -43,7 +43,7 @@ harness = false [dependencies] rand = "0.8" -onig = { version = "6.4", default-features = false, optional = true } +onig = { version = "6.5.1", default-features = false, optional = true } regex = "1.10" regex-syntax = "0.8" rayon = "1.10"