Skip to content

Commit ca33c4c

Browse files
committed
fixup
1 parent 58629e8 commit ca33c4c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
rust: nightly
3838
args: --package mitmproxy-linux-ebpf
3939
env:
40-
RUSTFLAGS: ${{ matrix.rust == 'nightly' && '-C panic=abort' || '' }}
40+
RUSTFLAGS: ${{ matrix.rust == 'nightly' && '-Zpanic_abort_tests -C panic=abort' || '' }}
4141
steps:
4242
- uses: mhils/workflows/checkout@v12
4343
- uses: ./.github/actions/setup
@@ -86,10 +86,10 @@ jobs:
8686

8787
- if: runner.os == 'Linux'
8888
name: Install maturin[zig] from PyPI
89-
uses: install-pinned/maturin-with-zig@4804d730717f28b7565e71e68e5c9fe8c4f9b089
89+
uses: install-pinned/maturin-with-zig@9b93d1cb00f6b4e370eafb0a56a356eded87f69f
9090
- if: runner.os != 'Linux'
9191
name: Install maturin from PyPI
92-
uses: install-pinned/maturin@c8c3a8f7f2b2ecf1728c96824734c6c6afe7e3e8
92+
uses: install-pinned/maturin@0de1880845261f9916e3d1395587eb80365ad3ac
9393

9494
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
9595
run: python .github/scripts/pin-versions.py
@@ -190,7 +190,7 @@ jobs:
190190
with:
191191
extra-targets: ${{ matrix.target }}
192192
- name: Install maturin[zig] from PyPI
193-
uses: install-pinned/maturin-with-zig@4804d730717f28b7565e71e68e5c9fe8c4f9b089
193+
uses: install-pinned/maturin-with-zig@9b93d1cb00f6b4e370eafb0a56a356eded87f69f
194194

195195
- run: maturin build --release ${{ matrix.args }}
196196
working-directory: ./mitmproxy-linux

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# TODO: This should ideally just reuse the main CI artifacts.
2323
- uses: mhils/workflows/checkout@v12
2424
- uses: ./.github/actions/setup
25-
- uses: install-pinned/maturin-with-zig@4804d730717f28b7565e71e68e5c9fe8c4f9b089
25+
- uses: install-pinned/maturin-with-zig@9b93d1cb00f6b4e370eafb0a56a356eded87f69f
2626
- uses: install-pinned/mypy@2b552bed479e3f7065314667b670f7303619e989
2727
- uses: install-pinned/pdoc@fd9469ecb06f32b7012e07e449ce98b217bf1189
2828

src/packet_sources/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ pub trait PacketSourceTask: Send {
4747
pub const IPC_BUF_SIZE: usize = MAX_PACKET_SIZE + 1024;
4848

4949
/// Feed packets from a socket into smol, and the other way around.
50+
#[allow(dead_code)]
5051
async fn forward_packets<T: AsyncRead + AsyncWrite + Unpin>(
5152
mut channel: T,
5253
transport_events_tx: Sender<TransportEvent>,

0 commit comments

Comments
 (0)