File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
crates/tuntap/src/platform/linux Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ pub struct ifreq {
1818#[ repr( C ) ]
1919#[ derive( Copy , Clone ) ]
2020pub 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
7373pub const IFF_UP : u16 = libc:: IFF_UP as _ ;
7474pub 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 _ ;
7676pub const IFF_TAP : u16 = libc:: IFF_TAP as _ ;
7777const IFF_NO_PI : u16 = 0x0100 ;
7878const IFF_ONE_QUEUE : u16 = 0x0200 ;
You can’t perform that action at this time.
0 commit comments