Update io-lifetimes, cap-std, and rsix (#3269)
- Fixes for compiling on OpenBSD - io-lifetimes 0.3.0 has an option (io_lifetimes_use_std, which is off by default) for testing the `io_safety` feature in Rust nightly.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
//! is in the `Sched` abstraction. Once we can build an async scheduler based
|
||||
//! on Rust `Future`s, async impls will be able to interoperate, but the
|
||||
//! synchronous scheduler depends on downcasting the `WasiFile` type down to
|
||||
//! concrete types it knows about (which in turn impl `AsRawFd` for passing to
|
||||
//! concrete types it knows about (which in turn impl `AsFd` for passing to
|
||||
//! unix `poll`, or the analogous traits on windows).
|
||||
//!
|
||||
//! Why is this impl suffixed with `-sync`? Because `async` is coming soon!
|
||||
@@ -31,6 +31,8 @@
|
||||
//! deps, so we will retain a sync implementation so that wasi-common users
|
||||
//! have an option of not pulling in an async runtime.
|
||||
|
||||
#![cfg_attr(io_lifetimes_use_std, feature(io_safety))]
|
||||
|
||||
pub mod clocks;
|
||||
pub mod dir;
|
||||
pub mod file;
|
||||
|
||||
Reference in New Issue
Block a user