summaryrefslogtreecommitdiffstats
path: root/vendor/redox_syscall/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:47:55 +0000
commit2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4 (patch)
tree033cc839730fda84ff08db877037977be94e5e3a /vendor/redox_syscall/debian
parentInitial commit. (diff)
downloadcargo-upstream.tar.xz
cargo-upstream.zip
Adding upstream version 0.70.1+ds1.upstream/0.70.1+ds1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/redox_syscall/debian')
-rw-r--r--vendor/redox_syscall/debian/patches/no-nightly.patch20
-rw-r--r--vendor/redox_syscall/debian/patches/series1
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