From 31d0d3af18185a75eeb65e341228c4a2ec101b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Sun, 1 Sep 2024 22:50:24 +0200 Subject: [PATCH 1/2] fix(fd): clippy::too_long_first_doc_paragraph MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- src/fd/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fd/mod.rs b/src/fd/mod.rs index 1f0c2f652d..528d290bf0 100644 --- a/src/fd/mod.rs +++ b/src/fd/mod.rs @@ -365,6 +365,8 @@ async fn poll_fds(fds: &mut [PollFd]) -> io::Result { .await } +/// Wait for some event on a file descriptor. +/// /// The unix-like `poll` waits for one of a set of file descriptors /// to become ready to perform I/O. The set of file descriptors to be /// monitored is specified in the `fds` argument, which is an array @@ -383,6 +385,8 @@ pub fn poll(fds: &mut [PollFd], timeout: Option) -> io::Result { result } +/// Wait for some event on a file descriptor. +/// /// `eventfd` creates an linux-like "eventfd object" that can be used /// as an event wait/notify mechanism by user-space applications, and by /// the kernel to notify user-space applications of events. The From 0070f45c586a9668ae7af7d8626dec62ce272618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Sun, 1 Sep 2024 22:49:17 +0200 Subject: [PATCH 2/2] chore: upgrade toolchain channel to `nightly-2024-09-01` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- rust-toolchain.toml | 2 +- src/lib.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index a1c56cb7f4..ceaaa7832d 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "nightly-2024-08-01" +channel = "nightly-2024-09-01" components = [ "llvm-tools", "rust-src", diff --git a/src/lib.rs b/src/lib.rs index 964c8e2e95..04efe7b6ac 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,6 @@ )] #![cfg_attr(target_arch = "x86_64", feature(abi_x86_interrupt))] #![feature(allocator_api)] -#![feature(asm_const)] #![feature(exposed_provenance)] #![feature(linked_list_cursors)] #![feature(map_try_insert)] @@ -21,7 +20,6 @@ #![feature(maybe_uninit_slice)] #![feature(naked_functions)] #![feature(never_type)] -#![feature(new_uninit)] #![feature(noop_waker)] #![feature(slice_from_ptr_range)] #![feature(slice_ptr_get)]