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/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 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)]