avoid panic on smoltcp socket accept (#1272)

This commit is contained in:
Sijie.Sun
2025-08-21 09:30:51 +08:00
committed by GitHub
parent 9c6d1dabdf
commit 839a28a3d5
4 changed files with 21 additions and 23 deletions

View File

@@ -154,14 +154,13 @@ jobs:
name: easytier-web-dashboard
path: easytier-web/frontend/dist/
- name: Cargo cache
- uses: Swatinem/rust-cache@v2
if: ${{ ! endsWith(matrix.TARGET, 'freebsd') }}
uses: actions/cache@v4
with:
path: |
~/.cargo
./target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
# The prefix cache key, this can be changed to start a new cache manually.
# default: "v0-rust"
prefix-key: ""
- name: Setup protoc
uses: arduino/setup-protoc@v3

View File

@@ -151,13 +151,11 @@ jobs:
pnpm -r install
pnpm -r build
- name: Cargo cache
uses: actions/cache@v4
- uses: Swatinem/rust-cache@v2
with:
path: |
~/.cargo
./target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
# The prefix cache key, this can be changed to start a new cache manually.
# default: "v0-rust"
prefix-key: ""
- name: Install rust target
run: bash ./.github/workflows/install_rust.sh

View File

@@ -98,13 +98,11 @@ jobs:
pnpm -r install
pnpm -r build
- name: Cargo cache
uses: actions/cache@v4
- uses: Swatinem/rust-cache@v2
with:
path: |
~/.cargo
./target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
# The prefix cache key, this can be changed to start a new cache manually.
# default: "v0-rust"
prefix-key: ""
- name: Install rust target
run: |