From 3fd8845be3d4380038ef266d25ec8acafa2da863 Mon Sep 17 00:00:00 2001 From: hillium Date: Fri, 13 Dec 2024 13:24:59 +0800 Subject: [PATCH 1/2] lock ubuntu at 22.04 Signed-off-by: hillium --- .github/workflows/cpp-test.yaml | 2 +- .github/workflows/rust-test.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cpp-test.yaml b/.github/workflows/cpp-test.yaml index 6241db684..c51e9e8e7 100644 --- a/.github/workflows/cpp-test.yaml +++ b/.github/workflows/cpp-test.yaml @@ -14,7 +14,7 @@ on: - release-4.0 jobs: cpp-test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/rust-test.yaml b/.github/workflows/rust-test.yaml index 01bf1ac6d..b6f8bae07 100644 --- a/.github/workflows/rust-test.yaml +++ b/.github/workflows/rust-test.yaml @@ -16,7 +16,7 @@ on: - release-3.0 jobs: rust-test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v2 From 0f41a3c123489ad9b714187e3a325e28dccb6c03 Mon Sep 17 00:00:00 2001 From: hillium Date: Fri, 13 Dec 2024 14:41:20 +0800 Subject: [PATCH 2/2] allow static_mut_refs Signed-off-by: hillium --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 23fd556b7..d7c50f887 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,6 +4,8 @@ #[allow(renamed_and_removed_lints)] #[allow(bare_trait_objects)] #[allow(deprecated)] +#[allow(static_mut_refs)] + mod protos { include!(concat!(env!("OUT_DIR"), "/protos/mod.rs"));