From a97ba9088d9682d2beaeb4aff1899428d4897b54 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Fri, 27 Sep 2024 04:33:47 +0900 Subject: [PATCH] fix: fix CI --- .github/workflows/test.yml | 2 +- crates/open_jtalk/src/text2mecab.rs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9876de1..831539a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,8 +17,8 @@ jobs: include: - os: windows-2019 - os: windows-2022 - - os: macos-11 - os: macos-12 + - os: macos-13 - os: ubuntu-20.04 - os: ubuntu-22.04 runs-on: ${{ matrix.os }} diff --git a/crates/open_jtalk/src/text2mecab.rs b/crates/open_jtalk/src/text2mecab.rs index bea2616..6a22270 100644 --- a/crates/open_jtalk/src/text2mecab.rs +++ b/crates/open_jtalk/src/text2mecab.rs @@ -38,7 +38,9 @@ pub fn text2mecab(input: impl AsRef) -> Result { Ok(String::from_utf8(output).unwrap()) } else { - Err(unsafe { std::mem::transmute(result) }) + Err(unsafe { + std::mem::transmute::(result) + }) } }