Skip to content

Commit

Permalink
Merge pull request #63 from blocklessnetwork/feature/script_network
Browse files Browse the repository at this point in the history
fix compile issue.
  • Loading branch information
Joinhack authored May 18, 2024
2 parents 4ba9d7d + 9ea00d5 commit bd88ca1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/tuntap/src/async/executor/local_executor.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(dead_code)]
use std::{
cell::RefCell,
collections::VecDeque,
Expand Down
1 change: 1 addition & 0 deletions crates/tuntap/src/async/reactor.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(dead_code)]
use std::{
io,
time::Duration,
Expand Down
1 change: 1 addition & 0 deletions crates/wasi/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(dead_code)]
#[macro_use]
mod log;

Expand Down
2 changes: 1 addition & 1 deletion crates/wasi/src/tun_thr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl TunThread {
},
};
tap.set_nonblock().unwrap();
let mut tap_poll = tuntap::Poll::new();
let mut tap_poll = tuntap::Poller::new();
let mut events = Events::with_capacity(10);
let tap_token = Token(0);

Expand Down

0 comments on commit bd88ca1

Please sign in to comment.