diff options
Diffstat (limited to 'vendor/redox_syscall/debian')
-rw-r--r-- | vendor/redox_syscall/debian/patches/no-nightly.patch | 20 | ||||
-rw-r--r-- | vendor/redox_syscall/debian/patches/series | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/vendor/redox_syscall/debian/patches/no-nightly.patch b/vendor/redox_syscall/debian/patches/no-nightly.patch new file mode 100644 index 0000000..533a361 --- /dev/null +++ b/vendor/redox_syscall/debian/patches/no-nightly.patch @@ -0,0 +1,20 @@ +Index: redox-syscall/src/lib.rs +=================================================================== +--- redox-syscall.orig/src/lib.rs ++++ redox-syscall/src/lib.rs +@@ -9,6 +9,7 @@ pub use self::daemon::*; + pub use self::data::*; + pub use self::error::*; + pub use self::flag::*; ++#[cfg(target_os = "redox")] + pub use self::io::*; + pub use self::number::*; + pub use self::scheme::*; +@@ -53,6 +54,7 @@ pub mod error; + pub mod flag; + + /// Functions for low level hardware control ++#[cfg(target_os = "redox")] + pub mod io; + + /// Call numbers used by each system call diff --git a/vendor/redox_syscall/debian/patches/series b/vendor/redox_syscall/debian/patches/series new file mode 100644 index 0000000..e5d0ab9 --- /dev/null +++ b/vendor/redox_syscall/debian/patches/series @@ -0,0 +1 @@ +no-nightly.patch |