diff options
| author | Fenrir <[email protected]> | 2018-02-15 21:15:14 -0700 |
|---|---|---|
| committer | Fenrir <[email protected]> | 2018-02-15 21:15:39 -0700 |
| commit | 49dc1a5e06a04c4cb6bd136f7dedb85719646e10 (patch) | |
| tree | fb39e58a1734b5def44803d07f3134b706a96ba0 /ctr-std/src/env.rs | |
| parent | Fix TcpStream::wait_timeout (diff) | |
| download | ctru-rs-49dc1a5e06a04c4cb6bd136f7dedb85719646e10.tar.xz ctru-rs-49dc1a5e06a04c4cb6bd136f7dedb85719646e10.zip | |
Updates for Rust 1.24
Diffstat (limited to 'ctr-std/src/env.rs')
| -rw-r--r-- | ctr-std/src/env.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ctr-std/src/env.rs b/ctr-std/src/env.rs index 27bf326..c4946b6 100644 --- a/ctr-std/src/env.rs +++ b/ctr-std/src/env.rs @@ -723,6 +723,12 @@ pub fn args_os() -> ArgsOs { ArgsOs { inner: sys::args::args() } } +#[stable(feature = "env_unimpl_send_sync", since = "1.25.0")] +impl !Send for Args {} + +#[stable(feature = "env_unimpl_send_sync", since = "1.25.0")] +impl !Sync for Args {} + #[stable(feature = "env", since = "1.0.0")] impl Iterator for Args { type Item = String; @@ -754,6 +760,12 @@ impl fmt::Debug for Args { } } +#[stable(feature = "env_unimpl_send_sync", since = "1.25.0")] +impl !Send for ArgsOs {} + +#[stable(feature = "env_unimpl_send_sync", since = "1.25.0")] +impl !Sync for ArgsOs {} + #[stable(feature = "env", since = "1.0.0")] impl Iterator for ArgsOs { type Item = OsString; |