Skip to content

Commit 5e17d78

Browse files
committed
fixup
1 parent 7931fae commit 5e17d78

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
args: --exclude mitmproxy-linux-ebpf
3636
- os: ubuntu-latest
3737
rust: nightly
38-
args: --package mitmproxy-linux-ebpf
38+
args: --package mitmproxy-linux-ebpf -C panic=abort -Zpanic_abort_tests
3939
steps:
4040
- uses: mhils/workflows/checkout@v12
4141
- uses: ./.github/actions/setup
@@ -98,7 +98,7 @@ jobs:
9898
# ensure that sdist is building.
9999
# We do this here instead of a separate job because we don't want to wait for the entire matrix.
100100
- if: contains(matrix.args, 'sdist')
101-
run: pip install target/wheels/*.tar.gz
101+
run: pip install --no-dependencies target/wheels/*.tar.gz
102102

103103
- uses: actions/upload-artifact@v4
104104
with:
@@ -198,10 +198,23 @@ jobs:
198198
name: wheels-os-${{ matrix.name }}
199199
path: target/wheels
200200

201+
test-linux-wheel-sdist:
202+
needs: build-linux-wheel
203+
runs-on: ubuntu-latest
204+
steps:
205+
- uses: mhils/workflows/checkout@v12
206+
- uses: ./.github/actions/setup
207+
- uses: actions/download-artifact@v4
208+
with:
209+
name: wheels-os-linux-x86_64
210+
path: target/wheels
211+
- run: pip install --no-dependencies target/wheels/*.tar.gz
212+
201213
check:
202214
if: always()
203215
needs:
204216
- test
217+
- test-linux-wheel-sdist
205218
- build
206219
- build-windows-wheel
207220
- build-linux-wheel

mitmproxy-windows/redirector/src/main2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use lru_time_cache::LruCache;
1111
use mitmproxy::intercept_conf::{InterceptConf, ProcessInfo};
1212
use mitmproxy::ipc;
1313
use mitmproxy::ipc::FromProxy;
14-
use mitmproxy::packet_sources::windows::IPC_BUF_SIZE;
14+
use mitmproxy::packet_sources::IPC_BUF_SIZE;
1515
use mitmproxy::windows::network::network_table;
1616
use mitmproxy::processes::get_process_name;
1717
use mitmproxy::MAX_PACKET_SIZE;

src/packet_sources/windows.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use std::os::windows::ffi::OsStrExt;
44
use std::path::PathBuf;
55

66
use anyhow::{anyhow, Context, Result};
7-
use tokio::io::{AsyncReadExt, AsyncWriteExt};
87
use tokio::net::windows::named_pipe::{NamedPipeServer, PipeMode, ServerOptions};
98
use tokio::sync::broadcast;
109
use tokio::sync::mpsc::Sender;

0 commit comments

Comments
 (0)