This commit is contained in:
Taiki Endo 2022-01-09 01:58:56 +09:00
parent 191e91655e
commit a12be08c97
4 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
msrv = "1.31"
msrv = "1.34"

View File

@ -82,7 +82,7 @@ jobs:
matrix:
# When updating this, the reminder to update the minimum supported
# Rust version in Cargo.toml and .clippy.toml.
rust: ['1.31']
rust: ['1.34']
steps:
- uses: actions/checkout@v2
- name: Install Rust

View File

@ -6,7 +6,7 @@ name = "polling"
version = "2.2.0"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
rust-version = "1.31"
rust-version = "1.34"
description = "Portable interface to epoll, kqueue, event ports, and wepoll"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/smol-rs/polling"

View File

@ -76,13 +76,13 @@ macro_rules! syscall {
cfg_if! {
if #[cfg(any(target_os = "linux", target_os = "android"))] {
mod epoll;
use self::epoll as sys;
use epoll as sys;
} else if #[cfg(any(
target_os = "illumos",
target_os = "solaris",
))] {
mod port;
use self::port as sys;
use port as sys;
} else if #[cfg(any(
target_os = "macos",
target_os = "ios",
@ -92,17 +92,17 @@ cfg_if! {
target_os = "dragonfly",
))] {
mod kqueue;
use self::kqueue as sys;
use kqueue as sys;
} else if #[cfg(any(
target_os = "vxworks",
target_os = "fuchsia",
unix,
))] {
mod poll;
use self::poll as sys;
use poll as sys;
} else if #[cfg(target_os = "windows")] {
mod wepoll;
use self::wepoll as sys;
use wepoll as sys;
} else {
compile_error!("polling does not support this target OS");
}