Skip to content

Commit 1cf81df

Browse files
authored
Merge pull request #55 from blocklessnetwork/fix/compile_issue
fix compile issue.
2 parents d0b9575 + c871ca0 commit 1cf81df

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/wasi-v86-macos.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
with:
3232
toolchain: stable
3333
target: ${{ matrix.target }}
34-
- run: rustup target add ${{ matrix.target }}
3534
- name: Build v86-wasi
3635
uses: actions-rs/cargo@v1
3736
with:

crates/tuntap/src/platform/linux/sys.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub struct ifreq {
1818
#[repr(C)]
1919
#[derive(Copy, Clone)]
2020
pub union ifreq_ifrn {
21-
pub ifrn_name: [::std::os::raw::c_char; 16usize],
21+
pub ifrn_name: [i8; 16usize],
2222
align: [u8; 16usize],
2323
}
2424

@@ -72,7 +72,7 @@ impl ifreq {
7272

7373
pub const IFF_UP: u16 = libc::IFF_UP as _;
7474
pub const IFF_RUNNING: u16 = libc::IFF_RUNNING as _;
75-
pub const IFF_TUN: u16 = libc::IFF_TUN as _;
75+
pub const IFF_TUN: u16 = libc::IFF_TUN as _;
7676
pub const IFF_TAP: u16 = libc::IFF_TAP as _;
7777
const IFF_NO_PI: u16 = 0x0100;
7878
const IFF_ONE_QUEUE: u16 = 0x0200;

0 commit comments

Comments
 (0)