From b412747a16f68d203c44799f3e60c2c4c2f7acdb Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 25 Feb 2020 12:57:35 +1000 Subject: [PATCH] add workaround for panic on 32 bit systems https://anki.tenderapp.com/discussions/beta-testing/1817-failed-to-generate-operands-out-of-fluentnumber-could-not-convert-string-to-integer --- rslib/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rslib/Cargo.toml b/rslib/Cargo.toml index dbdf92e51..0b6d23b79 100644 --- a/rslib/Cargo.toml +++ b/rslib/Cargo.toml @@ -31,8 +31,8 @@ coarsetime = "=0.1.11" utime = "0.2.1" serde-aux = "0.6.1" unic-langid = { version = "0.8.0", features = ["macros"] } -fluent = "0.10.2" -intl-memoizer = "0.3.0" +fluent = { git = "https://github.com/ankitects/fluent-rs.git", branch="32bit-panic" } +intl-memoizer = { git = "https://github.com/ankitects/fluent-rs.git", branch="32bit-panic" } num-format = "0.4.0" [target.'cfg(target_vendor="apple")'.dependencies]