Skip to content

Commit

Permalink
Merge pull request #55 from blocklessnetwork/fix/compile_issue
Browse files Browse the repository at this point in the history
fix compile issue.
  • Loading branch information
Joinhack authored May 6, 2024
2 parents d0b9575 + c871ca0 commit 1cf81df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/wasi-v86-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
with:
toolchain: stable
target: ${{ matrix.target }}
- run: rustup target add ${{ matrix.target }}
- name: Build v86-wasi
uses: actions-rs/cargo@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions crates/tuntap/src/platform/linux/sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub struct ifreq {
#[repr(C)]
#[derive(Copy, Clone)]
pub union ifreq_ifrn {
pub ifrn_name: [::std::os::raw::c_char; 16usize],
pub ifrn_name: [i8; 16usize],
align: [u8; 16usize],
}

Expand Down Expand Up @@ -72,7 +72,7 @@ impl ifreq {

pub const IFF_UP: u16 = libc::IFF_UP as _;
pub const IFF_RUNNING: u16 = libc::IFF_RUNNING as _;
pub const IFF_TUN: u16 = libc::IFF_TUN as _;
pub const IFF_TUN: u16 = libc::IFF_TUN as _;
pub const IFF_TAP: u16 = libc::IFF_TAP as _;
const IFF_NO_PI: u16 = 0x0100;
const IFF_ONE_QUEUE: u16 = 0x0200;
Expand Down

0 comments on commit 1cf81df

Please sign in to comment.