Skip to content

Commit 2c9010a

Browse files
authored
Update sys.rs to 6.14 (#322)
1 parent 3373e51 commit 2c9010a

File tree

6 files changed

+1133
-29
lines changed

6 files changed

+1133
-29
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- name: Lint
109109
env:
110110
RUSTFLAGS: --cfg=io_uring_use_own_sys
111-
IO_URING_OWN_SYS_BINDING: sys_x86-64.rs
111+
IO_URING_OWN_SYS_BINDING: sys_x86_64.rs
112112
run: cargo check --target ${{ matrix.target }}
113113

114114
fmt:

io-uring-test/src/tests/net.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,7 @@ pub fn test_tcp_send_bundle<S: squeue::EntryMarker, C: cqueue::EntryMarker>(
159159

160160
unsafe {
161161
let mut queue = ring.submission();
162-
let send_e = send_e
163-
.build()
164-
.user_data(0x01)
165-
.flags(squeue::Flags::IO_LINK)
166-
.into();
162+
let send_e = send_e.build().user_data(0x01).into();
167163
queue.push(&send_e).expect("queue is full");
168164
}
169165

src/sys/sys.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
cfg_if::cfg_if! {
22
if #[cfg(target_arch = "x86_64")] {
3-
include!("sys_x86-64.rs");
3+
include!("sys_x86_64.rs");
44
} else if #[cfg(target_arch = "aarch64")] {
55
include!("sys_aarch64.rs");
66
} else {
7-
include!("sys_x86-64.rs");
7+
include!("sys_x86_64.rs");
88
}
99
}

0 commit comments

Comments
 (0)