mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
tokio: upgrade to new nightly for CI (#4193)
This commit is contained in:
parent
e7d3e0c93c
commit
9cb495cdb8
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -9,7 +9,7 @@ name: CI
|
||||
env:
|
||||
RUSTFLAGS: -Dwarnings
|
||||
RUST_BACKTRACE: 1
|
||||
nightly: nightly-2021-07-09
|
||||
nightly: nightly-2021-10-25
|
||||
minrust: 1.45.2
|
||||
|
||||
jobs:
|
||||
|
1
.github/workflows/loom.yml
vendored
1
.github/workflows/loom.yml
vendored
@ -10,7 +10,6 @@ name: Loom
|
||||
env:
|
||||
RUSTFLAGS: -Dwarnings
|
||||
RUST_BACKTRACE: 1
|
||||
nightly: nightly-2021-07-09
|
||||
|
||||
jobs:
|
||||
loom:
|
||||
|
@ -16,6 +16,10 @@
|
||||
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
|
||||
))]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg_hide))]
|
||||
#![cfg_attr(docsrs, doc(cfg_hide(docsrs)))]
|
||||
#![cfg_attr(docsrs, doc(cfg_hide(loom)))]
|
||||
#![cfg_attr(docsrs, doc(cfg_hide(not(loom))))]
|
||||
#![cfg_attr(docsrs, allow(unused_attributes))]
|
||||
|
||||
//! A runtime for writing reliable network applications without compromising speed.
|
||||
|
@ -99,6 +99,7 @@ macro_rules! cfg_io_driver_impl {
|
||||
feature = "process",
|
||||
all(unix, feature = "signal"),
|
||||
))]
|
||||
#[cfg_attr(docsrs, doc(cfg(all())))]
|
||||
$item
|
||||
)*
|
||||
}
|
||||
|
@ -18,15 +18,25 @@ pub struct Handle {
|
||||
pub(super) spawner: Spawner,
|
||||
|
||||
/// Handles to the I/O drivers
|
||||
#[cfg_attr(
|
||||
not(any(feature = "net", feature = "process", all(unix, feature = "signal"))),
|
||||
allow(dead_code)
|
||||
)]
|
||||
pub(super) io_handle: driver::IoHandle,
|
||||
|
||||
/// Handles to the signal drivers
|
||||
#[cfg_attr(
|
||||
not(any(feature = "signal", all(unix, feature = "process"))),
|
||||
allow(dead_code)
|
||||
)]
|
||||
pub(super) signal_handle: driver::SignalHandle,
|
||||
|
||||
/// Handles to the time drivers
|
||||
#[cfg_attr(not(feature = "time"), allow(dead_code))]
|
||||
pub(super) time_handle: driver::TimeHandle,
|
||||
|
||||
/// Source of `Instant::now()`
|
||||
#[cfg_attr(not(all(feature = "time", feature = "test-util")), allow(dead_code))]
|
||||
pub(super) clock: driver::Clock,
|
||||
|
||||
/// Blocking pool spawner
|
||||
|
Loading…
x
Reference in New Issue
Block a user