]> git.proxmox.com Git - cargo.git/blob - vendor/redox_syscall/debian/patches/no-nightly.patch
New upstream version 0.63.1
[cargo.git] / vendor / redox_syscall / debian / patches / no-nightly.patch
1 Index: redox-syscall/src/lib.rs
2 ===================================================================
3 --- redox-syscall.orig/src/lib.rs
4 +++ redox-syscall/src/lib.rs
5 @@ -9,6 +9,7 @@ pub use self::daemon::*;
6 pub use self::data::*;
7 pub use self::error::*;
8 pub use self::flag::*;
9 +#[cfg(target_os = "redox")]
10 pub use self::io::*;
11 pub use self::number::*;
12 pub use self::scheme::*;
13 @@ -53,6 +54,7 @@ pub mod error;
14 pub mod flag;
15
16 /// Functions for low level hardware control
17 +#[cfg(target_os = "redox")]
18 pub mod io;
19
20 /// Call numbers used by each system call